blob: 8cfc63aa6bf1b1cdb21d5e964f3703763e9ce6da [file] [log] [blame]
Nate Begeman4c54b992008-07-25 19:08:59 +00001; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx -mtriple=i686-apple-darwin9 -o - | grep punpckldq
Nate Begeman6357f9d2008-07-25 19:05:58 +00002
3define <2 x i32> @mmx_movzl(<2 x i32> %x) nounwind {
4entry:
5 %tmp3 = insertelement <2 x i32> %x, i32 32, i32 0 ; <<2 x i32>> [#uses=1]
6 %tmp8 = insertelement <2 x i32> %tmp3, i32 0, i32 1 ; <<2 x i32>> [#uses=1]
7 ret <2 x i32> %tmp8
8}