repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
altivec-5.C
blob
c5a67c5835beec85d45586d518d4f2975d54744a
1
/* { dg-do compile { target powerpc*-*-* } } */
2
/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
3
/* { dg-options "-maltivec" } */
4
5
/* PR c++/14426 */
6
7
#include <altivec.h>
8
9
vector unsigned int splat0u()
10
{
11
return vec_splat_u32(0);
12
}
13
vector int splat0s()
14
{
15
return vec_splat_s32(0);
16
}