1 ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah > %t
2 ; RUN: not grep punpck %t
3 ; RUN: grep pextrw %t | count 4
4 ; RUN: grep pinsrw %t | count 6
5 ; RUN: grep pshuflw %t | count 1
6 ; RUN: grep pshufhw %t | count 2
8 define <8 x i16> @t1(<8 x i16>* %A, <8 x i16>* %B) nounwind {
9 %tmp1 = load <8 x i16>* %A
10 %tmp2 = load <8 x i16>* %B
11 %tmp3 = shufflevector <8 x i16> %tmp1, <8 x i16> %tmp2, <8 x i32> < i32 8, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7 >
15 define <8 x i16> @t2(<8 x i16> %A, <8 x i16> %B) nounwind {
16 %tmp = shufflevector <8 x i16> %A, <8 x i16> %B, <8 x i32> < i32 9, i32 1, i32 2, i32 9, i32 4, i32 5, i32 6, i32 7 >
20 define <8 x i16> @t3(<8 x i16> %A, <8 x i16> %B) nounwind {
21 %tmp = shufflevector <8 x i16> %A, <8 x i16> %A, <8 x i32> < i32 8, i32 3, i32 2, i32 13, i32 7, i32 6, i32 5, i32 4 >
25 define <8 x i16> @t4(<8 x i16> %A, <8 x i16> %B) nounwind {
26 %tmp = shufflevector <8 x i16> %A, <8 x i16> %B, <8 x i32> < i32 0, i32 7, i32 2, i32 3, i32 1, i32 5, i32 6, i32 5 >