summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr44144.c
blob: 8db0f4f3c636b408567bf37ef50743d5c0c07933 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -mavx -mtune=generic" } */

void
foo (char * dest, int xcount, int ycount)
{
  int x, y;
  for (y = 0; y < ycount; y++)
    for (x = 0; x < xcount; x++)
      dest[x + y*2] = 0;
}