2 /* { dg-do run { target powerpc*-*-* } } */
3 /* { dg-require-effective-target powerpc_altivec_ok } */
4 /* { dg-options "-O2 -maltivec" } */
6 #include "altivec_check.h"
8 #define vector __attribute__((vector_size (16)))
16 void __attribute__((noinline))
17 bar (void *i, vector int j)
19 asm volatile ("" : : "r" (i), "r" (&j) : "memory");
22 int __attribute__((noinline))
23 foo (int i, vector int j)
25 char *p = __builtin_alloca (64 + i);
29 if (__builtin_memcmp (&v.c, &w.c, 16) != 0)
43 for (i = 0; i < 4; i++)