blob: 3a04094f6b7d27fe68b71cc5c3cd3ec4764129f9 [file] [log] [blame]
Chris Lattner843ecd62006-04-18 03:22:16 +00001; 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