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
PR tree-optimization/67955
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
altivec-5.C
blob
04c26e80ff45587c8db0c6e1d1ed20275a179bc3
1
/* { dg-do compile { target powerpc*-*-* } } */
2
/* { dg-require-effective-target powerpc_altivec_ok } */
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
}