1 /* { dg-do compile } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-options "-O2 -march=pentiumpro -minline-all-stringops -fno-common" } */
4 /* { dg-add-options bind_pic_locally } */
5 /* { dg-final { scan-assembler "rep" } } */
6 /* { dg-final { scan-assembler "movs" } } */
7 /* { dg-final { scan-assembler-not "test" } } */
8 /* { dg-final { scan-assembler "\.L?:" } } */
10 /* A and B are aligned, but we used to lose track of it.
11 Ensure that memcpy is inlined and alignment prologue is missing. */
17 __builtin_memcpy (a
,b
,2048);