mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
843ecd647c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27787 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
371 B
LLVM
12 lines
371 B
LLVM
; 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
|
|
}
|
|
|