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 | 2dea1540353618993ff52e2ff7802c3614ea5794 (patch) | |
| tree | d087e19daf92f8bbf73e48578e817adaeed21e22 /llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll | |
| parent | 0ef233509baeb2049c9537fe0b53724cc5b2e111 (diff) | |
| download | bcm5719-llvm-2dea1540353618993ff52e2ff7802c3614ea5794.tar.gz bcm5719-llvm-2dea1540353618993ff52e2ff7802c3614ea5794.zip | |
new testcase
llvm-svn: 27787
Diffstat (limited to 'llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll')
| -rw-r--r-- | llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll b/llvm/test/Regression/CodeGen/PowerPC/vec_mul.ll new file mode 100644 index 00000000000..3a04094f6b7 --- /dev/null +++ b/llvm/test/Regression/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 +} + |

