1 /* { dg-do compile { target powerpc*-*-* } } */ 2 /* { dg-require-effective-target powerpc_altivec_ok } */ 3 /* { dg-options "-O -maltivec -mno-vsx" } */ 4 /* { dg-final { scan-assembler "stvx" } } */ 5 6 #include <string.h> 7 8 void bar (int *); 9 foo(void)10void foo(void) 11 { 12 int x[8] __attribute__((aligned(128))); 13 memset (x, 0, sizeof (x)); 14 bar (x); 15 } 16