diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-18 03:22:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-18 03:22:16 +0000 |
commit | 843ecd647c9bcce841e113703ecd1bc57d248b82 (patch) | |
tree | c6aff268f92939a31d8922324a695ce066e67c11 /test/CodeGen/PowerPC/vec_mul.ll | |
parent | 74e955d9312f4d0dcc9c2022e58c71341afce1f4 (diff) | |
download | llvm-843ecd647c9bcce841e113703ecd1bc57d248b82.tar.gz llvm-843ecd647c9bcce841e113703ecd1bc57d248b82.tar.bz2 llvm-843ecd647c9bcce841e113703ecd1bc57d248b82.tar.xz |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/vec_mul.ll')
-rw-r--r-- | test/CodeGen/PowerPC/vec_mul.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/vec_mul.ll b/test/CodeGen/PowerPC/vec_mul.ll new file mode 100644 index 0000000000..3a04094f6b --- /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 +} + |