PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / memcpy-strategy-2.c
blob9e26ea996d7f9866331178ab34234dd63dc2345e
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 } } } */
7 char a[2048];
8 char b[2048];
9 void t (void)
11 __builtin_memcpy (a, b, 2048);