blob: ae85cdbdc746b578cac91eea0515a2ad3690b5b7 [file] [log] [blame]
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec -O2" } */
#define vector __attribute__((vector_size(16)))
void foo (const unsigned long x,
vector signed int a, vector signed int b)
{
unsigned char d[64];
__builtin_altivec_stvewx (b, 0, d);
}