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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.dg
/
ext
/
altivec-4.C
blob
62cc1f0535fb0e2e9e2e26ee1add0c272a07a8b8
1
/* { dg-do compile { target powerpc*-*-* } } */
2
/* { dg-xfail-if "" { "powerpc-*-eabispe*" "powerpc-ibm-aix*" } { "*" } { "" } } */
3
/* { dg-options "-maltivec" } */
4
5
/* PR c++/14425 */
6
7
#include <altivec.h>
8
9
vector unsigned int splat0(vector unsigned int x)
10
{
11
return vec_splat(x, 0);
12
}