Changes in directory llvm/test/Regression/CodeGen/X86:

vec_shuffle.ll updated: 1.1 -> 1.2
---
Log message:

Add a v2f64 shuffle case.


---
Diffs of the changes:  (+9 -1)

 vec_shuffle.ll |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


Index: llvm/test/Regression/CodeGen/X86/vec_shuffle.ll
diff -u llvm/test/Regression/CodeGen/X86/vec_shuffle.ll:1.1 
llvm/test/Regression/CodeGen/X86/vec_shuffle.ll:1.2
--- llvm/test/Regression/CodeGen/X86/vec_shuffle.ll:1.1 Thu Mar 23 19:22:25 2006
+++ llvm/test/Regression/CodeGen/X86/vec_shuffle.ll     Thu Mar 23 20:56:00 2006
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufps
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufp | wc -l | grep 1
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movlhps
 
 void %test_v4sf(<4 x float>* %P, float %X, float %Y) {
        %tmp = insertelement <4 x float> zeroinitializer, float %X, uint 0
@@ -8,3 +9,10 @@
        store <4 x float> %tmp6, <4 x float>* %P
        ret void
 }
+
+void %test_v2sd(<2 x double>* %P, double %X, double %Y) {
+       %tmp = insertelement <2 x double> zeroinitializer, double %X, uint 0
+       %tmp2 = insertelement <2 x double> %tmp, double %Y, uint 1
+       store <2 x double> %tmp2, <2 x double>* %P
+       ret void
+}



_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to