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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.target
/
powerpc
/
altivec-4.C
blob
9ac1fbf38a38773ae5a6951b7f9314ffca5062d5
1
/* { dg-do compile } */
2
/* { dg-require-effective-target powerpc_altivec_ok } */
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
}