aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/memset-vector_loop-1.c
blob: ad0d130371bd494d7e6d07e957c6bb464eedbf65 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -march=atom -minline-all-stringops -mstringop-strategy=vector_loop" } */
/* { dg-final { scan-assembler-times "movdqa" 4 } } */

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