forked from OSchip/llvm-project
[X86][SSE] Regenerate vector shift tests
llvm-svn: 259999
This commit is contained in:
parent
38e0e2970c
commit
a09a154c2e
|
@ -677,7 +677,7 @@ define <4 x i32> @splatvar_shift_v4i32(<4 x i32> %a, <4 x i32> %b) nounwind {
|
|||
; AVX512-LABEL: splatvar_shift_v4i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vxorps %xmm2, %xmm2, %xmm2
|
||||
; AVX512-NEXT: vmovss %xmm1, %xmm2, %xmm1
|
||||
; AVX512-NEXT: vmovss {{.*#+}} xmm1 = xmm1[0],xmm2[1,2,3]
|
||||
; AVX512-NEXT: vpsrad %xmm1, %xmm0, %xmm0
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
|
|
|
@ -458,7 +458,7 @@ define <8 x i32> @splatvar_shift_v8i32(<8 x i32> %a, <8 x i32> %b) nounwind {
|
|||
; AVX512-LABEL: splatvar_shift_v8i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vxorps %xmm2, %xmm2, %xmm2
|
||||
; AVX512-NEXT: vmovss %xmm1, %xmm2, %xmm1
|
||||
; AVX512-NEXT: vmovss {{.*#+}} xmm1 = xmm1[0],xmm2[1,2,3]
|
||||
; AVX512-NEXT: vpsrad %xmm1, %ymm0, %ymm0
|
||||
; AVX512-NEXT: retq
|
||||
%splat = shufflevector <8 x i32> %b, <8 x i32> undef, <8 x i32> zeroinitializer
|
||||
|
|
|
@ -529,7 +529,7 @@ define <4 x i32> @splatvar_shift_v4i32(<4 x i32> %a, <4 x i32> %b) nounwind {
|
|||
; AVX512-LABEL: splatvar_shift_v4i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vxorps %xmm2, %xmm2, %xmm2
|
||||
; AVX512-NEXT: vmovss %xmm1, %xmm2, %xmm1
|
||||
; AVX512-NEXT: vmovss {{.*#+}} xmm1 = xmm1[0],xmm2[1,2,3]
|
||||
; AVX512-NEXT: vpsrld %xmm1, %xmm0, %xmm0
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
|
|
|
@ -369,7 +369,7 @@ define <8 x i32> @splatvar_shift_v8i32(<8 x i32> %a, <8 x i32> %b) nounwind {
|
|||
; AVX512-LABEL: splatvar_shift_v8i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vxorps %xmm2, %xmm2, %xmm2
|
||||
; AVX512-NEXT: vmovss %xmm1, %xmm2, %xmm1
|
||||
; AVX512-NEXT: vmovss {{.*#+}} xmm1 = xmm1[0],xmm2[1,2,3]
|
||||
; AVX512-NEXT: vpsrld %xmm1, %ymm0, %ymm0
|
||||
; AVX512-NEXT: retq
|
||||
%splat = shufflevector <8 x i32> %b, <8 x i32> undef, <8 x i32> zeroinitializer
|
||||
|
|
|
@ -477,7 +477,7 @@ define <4 x i32> @splatvar_shift_v4i32(<4 x i32> %a, <4 x i32> %b) nounwind {
|
|||
; AVX512-LABEL: splatvar_shift_v4i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vxorps %xmm2, %xmm2, %xmm2
|
||||
; AVX512-NEXT: vmovss %xmm1, %xmm2, %xmm1
|
||||
; AVX512-NEXT: vmovss {{.*#+}} xmm1 = xmm1[0],xmm2[1,2,3]
|
||||
; AVX512-NEXT: vpslld %xmm1, %xmm0, %xmm0
|
||||
; AVX512-NEXT: retq
|
||||
;
|
||||
|
|
|
@ -333,7 +333,7 @@ define <8 x i32> @splatvar_shift_v8i32(<8 x i32> %a, <8 x i32> %b) nounwind {
|
|||
; AVX512-LABEL: splatvar_shift_v8i32:
|
||||
; AVX512: ## BB#0:
|
||||
; AVX512-NEXT: vxorps %xmm2, %xmm2, %xmm2
|
||||
; AVX512-NEXT: vmovss %xmm1, %xmm2, %xmm1
|
||||
; AVX512-NEXT: vmovss {{.*#+}} xmm1 = xmm1[0],xmm2[1,2,3]
|
||||
; AVX512-NEXT: vpslld %xmm1, %ymm0, %ymm0
|
||||
; AVX512-NEXT: retq
|
||||
%splat = shufflevector <8 x i32> %b, <8 x i32> undef, <8 x i32> zeroinitializer
|
||||
|
|
Loading…
Reference in New Issue