From 283b2da27a7aafa2f298461cad9306d4486e4060 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Fri, 25 Jul 2008 19:05:58 +0000 Subject: 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 --- llvm/test/CodeGen/X86/vec_insert-7.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 llvm/test/CodeGen/X86/vec_insert-7.ll (limited to 'llvm/test/CodeGen/X86/vec_insert-7.ll') 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 +} -- cgit v1.2.3