1 /* Varargs and vectors! */
4 /* { dg-options "-msse" { target { i?86-*-* x86_64-*-* } } } */
5 /* { dg-require-effective-target sse_runtime { target { i?86-*-* x86_64-*-* } } } */
11 #define vector __attribute__((vector_size(16)))
13 const vector unsigned int v1 = {10,11,12,13};
14 const vector unsigned int v2 = {20,21,22,23};
19 vector unsigned int v;
22 v = va_arg (args, vector unsigned int);
23 if (a != 1 || memcmp (&v, &v1, sizeof (v)) != 0)
25 a = va_arg (args, int);
28 v = va_arg (args, vector unsigned int);
29 if (memcmp (&v, &v2, sizeof (v)) != 0)
36 #if INT_MAX == 2147483647
37 foo (1, (vector unsigned int){10,11,12,13}, 2,
38 (vector unsigned int){20,21,22,23});