Use unpcklpd for v2f64 splat.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-03-29 18:59:48 +00:00
parent 5aa97b200b
commit e4086e5086

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufps ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufps
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movlhps ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep unpcklpd
void %test_v4sf(<4 x float>* %P, <4 x float>* %Q, float %X) { void %test_v4sf(<4 x float>* %P, <4 x float>* %Q, float %X) {
%tmp = insertelement <4 x float> zeroinitializer, float %X, uint 0 %tmp = insertelement <4 x float> zeroinitializer, float %X, uint 0