forked from OSchip/llvm-project
[X86]AVX] Tidyup shift/splat tests
Missing comments, fixed bad word wrapping llvm-svn: 257993
This commit is contained in:
parent
ecd07946eb
commit
48bec72db3
|
@ -10,8 +10,7 @@ define <8 x i32> @vshift00(<8 x i32> %a) {
|
||||||
; CHECK-NEXT: vpslld $2, %xmm0, %xmm0
|
; CHECK-NEXT: vpslld $2, %xmm0, %xmm0
|
||||||
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
|
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
|
||||||
; CHECK-NEXT: retq
|
; CHECK-NEXT: retq
|
||||||
%s = shl <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32
|
%s = shl <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2>
|
||||||
2>
|
|
||||||
ret <8 x i32> %s
|
ret <8 x i32> %s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,8 +47,7 @@ define <8 x i32> @vshift03(<8 x i32> %a) {
|
||||||
; CHECK-NEXT: vpsrld $2, %xmm0, %xmm0
|
; CHECK-NEXT: vpsrld $2, %xmm0, %xmm0
|
||||||
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
|
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
|
||||||
; CHECK-NEXT: retq
|
; CHECK-NEXT: retq
|
||||||
%s = lshr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32
|
%s = lshr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2>
|
||||||
2>
|
|
||||||
ret <8 x i32> %s
|
ret <8 x i32> %s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,8 +84,7 @@ define <8 x i32> @vshift06(<8 x i32> %a) {
|
||||||
; CHECK-NEXT: vpsrad $2, %xmm0, %xmm0
|
; CHECK-NEXT: vpsrad $2, %xmm0, %xmm0
|
||||||
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
|
; CHECK-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
|
||||||
; CHECK-NEXT: retq
|
; CHECK-NEXT: retq
|
||||||
%s = ashr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32
|
%s = ashr <8 x i32> %a, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2>
|
||||||
2>
|
|
||||||
ret <8 x i32> %s
|
ret <8 x i32> %s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+avx | FileCheck %s
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+avx | FileCheck %s
|
||||||
|
|
||||||
define <32 x i8> @funcA(<32 x i8> %a) nounwind uwtable readnone ssp {
|
define <32 x i8> @funcA(<32 x i8> %a) nounwind uwtable readnone ssp {
|
||||||
|
|
Loading…
Reference in New Issue