projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e955d
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Tue, 18 Apr 2006 03:22:16 +0000
(
03:22
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 18 Apr 2006 03:22:16 +0000
(
03:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27787
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/PowerPC/vec_mul.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/PowerPC/vec_mul.ll
b/test/CodeGen/PowerPC/vec_mul.ll
new file mode 100644
(file)
index 0000000..
3a04094
--- /dev/null
+++ b/
test/CodeGen/PowerPC/vec_mul.ll
@@ -0,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
+}
+