Chris Lattner | 843ecd6 | 2006-04-18 03:22:16 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 && |
2 | ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep mullw | ||||
3 | ; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm | ||||
4 | |||||
5 | <4 x int> %test(<4 x int>* %X, <4 x int>* %Y) { | ||||
6 | %tmp = load <4 x int>* %X | ||||
7 | %tmp2 = load <4 x int>* %Y | ||||
8 | %tmp3 = mul <4 x int> %tmp, %tmp2 | ||||
9 | ret <4 x int> %tmp3 | ||||
10 | } | ||||
11 |