blob: 86a2615dc498e782bffec137503909053f01ca1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec" } */
/* PR c++/14425 */
#include <altivec.h>
vector unsigned int splat0(vector unsigned int x)
{
return vec_splat(x, 0);
}
|