1 /* PR middle-end/37010 */
2 /* { dg-do run { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
3 /* { dg-options "-msse2 -mpreferred-stack-boundary=2" } */
8 typedef __PTRDIFF_TYPE__ ptrdiff_t;
9 typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
10 typedef int aligned __attribute__((aligned(16)));
12 extern void abort (void);
17 __attribute__ ((noinline))
18 check_int (int *i, int align)
21 if ((((ptrdiff_t) i) & (align - 1)) != 0)
29 __attribute__ ((noinline))
30 foo (__m128 x, __m128 y ,__m128 z ,__m128 a, int size)
34 if (size != 5 || check_int (&i, __alignof__(i)) != i)
44 unsigned int eax, ebx, ecx, edx;
46 if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
49 /* Run SSE2 test only if host has SSE2 support. */
54 if (__builtin_memcmp (&r, &x, sizeof (r)))