blob: 0adfdb84d1949c23912fa0e502d211337ee20810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile { target powerpc*-*-* } } */
/* { 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);
}
|