2 /* { dg-options "-O2 -msse" } */
3 /* { dg-require-effective-target sse } */
17 const char test
[] = "This is a test.";
19 for (alignment
= 1; alignment
<= (1 << 20); alignment
+= alignment
)
21 ptr
= _mm_malloc (alignment
, alignment
);
22 if (((ptrdiff_t) ptr
) & (alignment
- 1))
26 n
= alignment
> sizeof test
? sizeof test
: alignment
;
27 memcpy (ptr
, test
, n
);
28 if (memcmp (ptr
, test
, n
) != 0)