1 /* { dg-do compile } */
2 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */
3 /* { dg-options "-O2 -march=atom -mmemcpy-strategy=vector_loop:3000:align,libcall:-1:align" } */
4 /* { dg-final { scan-assembler-times "movdqa" 8 { target { ! ia32 } } } } */
5 /* { dg-final { scan-assembler-times "movdqa" 4 { target ia32 } } } */
6 
7 char a[2048];
8 char b[2048];
t(void)9 void t (void)
10 {
11   __builtin_memcpy (a, b, 2048);
12 }
13 
14