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 "lvx" } } */
5 
foo(void)6 void foo(void)
7 {
8   int x[8] __attribute__((aligned(128))) = { 1, 1, 1, 1, 1, 1, 1, 1 };
9   bar (x);
10 }
11