aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/memset-strategy-1.c
blob: d1b97c5df10a851071d28be2e9080e776764d418 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -march=atom -mmemset-strategy=libcall:-1:align" } */
/* { dg-final { scan-assembler-times "memset" 2  } } */

char a[2048];
void t (void)
{
  __builtin_memset (a, 1, 2048);
}