diff options
author | Nate Begeman <natebegeman@mac.com> | 2008-07-25 19:05:58 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2008-07-25 19:05:58 +0000 |
commit | 283b2da27a7aafa2f298461cad9306d4486e4060 (patch) | |
tree | 6a5fe1bd1d0fef783b615c8d03517c9990fbdb54 /llvm/test/CodeGen/X86/vec_insert-7.ll | |
parent | f9c49e5d27a3e8377a862296ad68982a811f3aed (diff) | |
download | bcm5719-llvm-283b2da27a7aafa2f298461cad9306d4486e4060.tar.gz bcm5719-llvm-283b2da27a7aafa2f298461cad9306d4486e4060.zip |
Disable mov{L, LP, HP, HLP, *DUP} shuffles for mmx
mmx needs its own fancy shuffle logic based on unpack; for now we get correct but awful code.
Also commit Mon Ping's VSETCC patch
llvm-svn: 54039
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_insert-7.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vec_insert-7.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/vec_insert-7.ll b/llvm/test/CodeGen/X86/vec_insert-7.ll new file mode 100644 index 00000000000..93af9f4d414 --- /dev/null +++ b/llvm/test/CodeGen/X86/vec_insert-7.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx -mtriple=i686-apple-darwin9 -stats -info-output-file - | grep asm-printer | grep punpckldq + +define <2 x i32> @mmx_movzl(<2 x i32> %x) nounwind { +entry: + %tmp3 = insertelement <2 x i32> %x, i32 32, i32 0 ; <<2 x i32>> [#uses=1] + %tmp8 = insertelement <2 x i32> %tmp3, i32 0, i32 1 ; <<2 x i32>> [#uses=1] + ret <2 x i32> %tmp8 +} |