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

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