llvm-6502/test/CodeGen/PowerPC/vec_mul.ll

12 lines
371 B
LLVM
Raw Normal View History

; 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
}