1 ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah > %t
2 ; RUN: grep movlhps %t | count 1
3 ; RUN: grep pshufd %t | count 1
4 ; RUN: grep movss %t | count 1
5 ; RUN: grep pshuflw %t | count 1
6 ; RUN: grep pshufhw %t | count 1
8 define <8 x i16> @t1(<8 x i16> %A, <8 x i16> %B) nounwind {
9 %tmp = shufflevector <8 x i16> %A, <8 x i16> %B, <8 x i32> < i32 8, i32 9, i32 0, i32 1, i32 10, i32 11, i32 2, i32 3 >
13 define <8 x i16> @t2(<8 x i16> %A, <8 x i16> %B) nounwind {
14 %tmp = shufflevector <8 x i16> %A, <8 x i16> %B, <8 x i32> < i32 8, i32 9, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7 >
18 define <8 x i16> @t3(<8 x i16> %A, <8 x i16> %B) nounwind {
19 %tmp = shufflevector <8 x i16> %A, <8 x i16> %B, <8 x i32> < i32 0, i32 0, i32 3, i32 2, i32 4, i32 6, i32 4, i32 7 >