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 | 6357f9df4579d1d498aed8967e6ea2391606da34 (patch) | |
tree | 9cbdf23a142bf9fbeacc8a96409b2521513ac791 /test | |
parent | bbc2af03524f2db2155b9ff484d2dfd96115c862 (diff) | |
download | external_llvm-6357f9df4579d1d498aed8967e6ea2391606da34.zip external_llvm-6357f9df4579d1d498aed8967e6ea2391606da34.tar.gz external_llvm-6357f9df4579d1d498aed8967e6ea2391606da34.tar.bz2 |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/vec_insert-7.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_insert-7.ll b/test/CodeGen/X86/vec_insert-7.ll new file mode 100644 index 0000000..93af9f4 --- /dev/null +++ b/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 +} |