diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
| commit | f8af5cf600354830d4ccf59732403f0f073eccb9 (patch) | |
| tree | 2ba0398b4c42ad4f55561327538044fd2c925a8b /test/CodeGen/X86/vec_splat-3.ll | |
| parent | 59d6cff90eecf31cb3dd860c4e786674cfdd42eb (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/X86/vec_splat-3.ll')
| -rw-r--r-- | test/CodeGen/X86/vec_splat-3.ll | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/test/CodeGen/X86/vec_splat-3.ll b/test/CodeGen/X86/vec_splat-3.ll index cf0ecf40554d..754cbf41867d 100644 --- a/test/CodeGen/X86/vec_splat-3.ll +++ b/test/CodeGen/X86/vec_splat-3.ll @@ -1,11 +1,11 @@ -; RUN: llc <%s -march=x86 -mcpu=penryn -mattr=sse41 | FileCheck %s +; RUN: llc <%s -march=x86 -mcpu=penryn -mattr=sse4.1 | FileCheck %s ; Splat test for v8i16 define <8 x i16> @shuf_8i16_0(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 0, i32 undef, i32 undef, i32 0, i32 undef, i32 undef, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_0: +; CHECK-LABEL: shuf_8i16_0: ; CHECK: pshuflw $0 } @@ -13,7 +13,7 @@ define <8 x i16> @shuf_8i16_1(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 1, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_1: +; CHECK-LABEL: shuf_8i16_1: ; CHECK: pshuflw $5 } @@ -21,7 +21,7 @@ define <8 x i16> @shuf_8i16_2(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 2, i32 undef, i32 undef, i32 2, i32 undef, i32 2, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_2: +; CHECK-LABEL: shuf_8i16_2: ; CHECK: punpcklwd ; CHECK-NEXT: pshufd $-86 } @@ -30,7 +30,7 @@ define <8 x i16> @shuf_8i16_3(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 3, i32 3, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_3: +; CHECK-LABEL: shuf_8i16_3: ; CHECK: pshuflw $15 } @@ -38,7 +38,7 @@ define <8 x i16> @shuf_8i16_4(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 4, i32 undef, i32 undef, i32 undef, i32 4, i32 undef, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_4: +; CHECK-LABEL: shuf_8i16_4: ; CHECK: movhlps } @@ -46,7 +46,7 @@ define <8 x i16> @shuf_8i16_5(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 5, i32 undef, i32 undef, i32 5, i32 undef, i32 undef, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_5: +; CHECK-LABEL: shuf_8i16_5: ; CHECK: punpckhwd ; CHECK-NEXT: pshufd $85 } @@ -55,7 +55,7 @@ define <8 x i16> @shuf_8i16_6(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 6, i32 6, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_6: +; CHECK-LABEL: shuf_8i16_6: ; CHECK: punpckhwd ; CHECK-NEXT: pshufd $-86 } @@ -64,7 +64,7 @@ define <8 x i16> @shuf_8i16_7(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone { %tmp6 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> <i32 7, i32 undef, i32 undef, i32 7, i32 undef, i32 undef, i32 undef, i32 undef> ret <8 x i16> %tmp6 -; CHECK: shuf_8i16_7: +; CHECK-LABEL: shuf_8i16_7: ; CHECK: punpckhwd ; CHECK-NEXT: pshufd $-1 } @@ -74,7 +74,7 @@ define <16 x i8> @shuf_16i8_8(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 0, i32 undef, i32 undef, i32 0, i32 undef, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_8: +; CHECK-LABEL: shuf_16i8_8: ; CHECK: punpcklbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $0 @@ -84,7 +84,7 @@ define <16 x i8> @shuf_16i8_9(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 1, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef > ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_9: +; CHECK-LABEL: shuf_16i8_9: ; CHECK: punpcklbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $85 @@ -94,7 +94,7 @@ define <16 x i8> @shuf_16i8_10(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 2, i32 undef, i32 undef, i32 2, i32 undef, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_10: +; CHECK-LABEL: shuf_16i8_10: ; CHECK: punpcklbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $-86 @@ -104,7 +104,7 @@ define <16 x i8> @shuf_16i8_11(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 3, i32 undef, i32 undef, i32 3, i32 undef, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3, i32 3> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_11: +; CHECK-LABEL: shuf_16i8_11: ; CHECK: punpcklbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $-1 @@ -115,7 +115,7 @@ define <16 x i8> @shuf_16i8_12(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 4, i32 undef, i32 undef, i32 undef, i32 4, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef > ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_12: +; CHECK-LABEL: shuf_16i8_12: ; CHECK: pshufd $5 } @@ -123,7 +123,7 @@ define <16 x i8> @shuf_16i8_13(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 5, i32 undef, i32 undef, i32 5, i32 undef, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_13: +; CHECK-LABEL: shuf_16i8_13: ; CHECK: punpcklbw ; CHECK-NEXT: punpckhbw ; CHECK-NEXT: pshufd $85 @@ -133,7 +133,7 @@ define <16 x i8> @shuf_16i8_14(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 6, i32 undef, i32 undef, i32 6, i32 undef, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6, i32 6> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_14: +; CHECK-LABEL: shuf_16i8_14: ; CHECK: punpcklbw ; CHECK-NEXT: punpckhbw ; CHECK-NEXT: pshufd $-86 @@ -143,7 +143,7 @@ define <16 x i8> @shuf_16i8_15(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 7, i32 undef, i32 undef, i32 7, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef > ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_15: +; CHECK-LABEL: shuf_16i8_15: ; CHECK: punpcklbw ; CHECK-NEXT: punpckhbw ; CHECK-NEXT: pshufd $-1 @@ -153,7 +153,7 @@ define <16 x i8> @shuf_16i8_16(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 8, i32 undef, i32 undef, i32 8, i32 undef, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_16: +; CHECK-LABEL: shuf_16i8_16: ; CHECK: punpckhbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $0 @@ -163,7 +163,7 @@ define <16 x i8> @shuf_16i8_17(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 9, i32 undef, i32 undef, i32 9, i32 undef, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9, i32 9> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_17: +; CHECK-LABEL: shuf_16i8_17: ; CHECK: punpckhbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $85 @@ -173,7 +173,7 @@ define <16 x i8> @shuf_16i8_18(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 10, i32 undef, i32 undef, i32 10, i32 undef, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_18: +; CHECK-LABEL: shuf_16i8_18: ; CHECK: punpckhbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $-86 @@ -183,7 +183,7 @@ define <16 x i8> @shuf_16i8_19(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 11, i32 undef, i32 undef, i32 11, i32 undef, i32 11, i32 11, i32 11, i32 11, i32 11, i32 11, i32 11, i32 11, i32 11, i32 11, i32 11> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_19: +; CHECK-LABEL: shuf_16i8_19: ; CHECK: punpckhbw ; CHECK-NEXT: punpcklbw ; CHECK-NEXT: pshufd $-1 @@ -193,7 +193,7 @@ define <16 x i8> @shuf_16i8_20(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 12, i32 undef, i32 undef, i32 12, i32 undef, i32 12, i32 12, i32 12, i32 12, i32 12, i32 12, i32 12, i32 12, i32 12, i32 12, i32 12> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_20: +; CHECK-LABEL: shuf_16i8_20: ; CHECK: punpckhbw ; CHECK-NEXT: punpckhbw ; CHECK-NEXT: pshufd $0 @@ -203,7 +203,7 @@ define <16 x i8> @shuf_16i8_21(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 13, i32 undef, i32 undef, i32 13, i32 undef, i32 13, i32 13, i32 13, i32 13, i32 13, i32 13, i32 13, i32 13, i32 13, i32 13, i32 13> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_21: +; CHECK-LABEL: shuf_16i8_21: ; CHECK: punpckhbw ; CHECK-NEXT: punpckhbw ; CHECK-NEXT: pshufd $85 @@ -213,7 +213,7 @@ define <16 x i8> @shuf_16i8_22(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 14, i32 undef, i32 undef, i32 14, i32 undef, i32 14, i32 14, i32 14, i32 14, i32 14, i32 14, i32 14, i32 14, i32 14, i32 14, i32 14> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_22: +; CHECK-LABEL: shuf_16i8_22: ; CHECK: punpckhbw ; CHECK-NEXT: punpckhbw ; CHECK-NEXT: pshufd $-86 @@ -223,7 +223,7 @@ define <16 x i8> @shuf_16i8_23(<16 x i8> %T0, <16 x i8> %T1) nounwind readnone { %tmp6 = shufflevector <16 x i8> %T0, <16 x i8> %T1, <16 x i32> <i32 15, i32 undef, i32 undef, i32 15, i32 undef, i32 15, i32 15, i32 15, i32 15, i32 15, i32 15, i32 15, i32 15, i32 15, i32 15, i32 15> ret <16 x i8> %tmp6 -; CHECK: shuf_16i8_23: +; CHECK-LABEL: shuf_16i8_23: ; CHECK: punpckhbw ; CHECK-NEXT: punpckhbw ; CHECK-NEXT: pshufd $-1 |
