mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
new testcase
llvm-svn: 27787
This commit is contained in:
parent
13a5022494
commit
ab9ad1cdc1
11
test/Regression/CodeGen/PowerPC/vec_mul.ll
Normal file
11
test/Regression/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…
Reference in New Issue
Block a user