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

vec_mul.ll added (r1.1)
---
Log message:

new testcase


---
Diffs of the changes:  (+11 -0)

 vec_mul.ll |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll:1.1
*** /dev/null   Mon Apr 17 22:22:26 2006
--- llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll     Mon Apr 17 22:22:16 2006
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 &&
+ ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep mullw
+ ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm
+ 
+ <4 x int> %test(<4 x int>* %X, <4 x int>* %Y) {
+         %tmp = load <4 x int>* %X
+         %tmp2 = load <4 x int>* %Y
+         %tmp3 = mul <4 x int> %tmp, %tmp2
+         ret <4 x int> %tmp3
+ }
+ 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to