mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
74e955d931
commit
843ecd647c
11
test/CodeGen/PowerPC/vec_mul.ll
Normal file
11
test/CodeGen/PowerPC/vec_mul.ll
Normal file
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user