1/* { dg-do compile { target powerpc*-*-* } } */
2/* { dg-require-effective-target powerpc_altivec_ok } */
3/* { dg-options "-maltivec -O2" } */
4
5#define vector __attribute__((vector_size(16)))
6
7void foo (const unsigned long x,
8	  vector signed int a, vector signed int b)
9{
10  unsigned char d[64];
11
12  __builtin_altivec_stvewx (b, 0, d);
13}
14