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