2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / memcpy-strategy-2.c
blob3b34ba0203a1f5bdcf72c295f40fa60b4c704c80
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);