summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/vect-sizes-1.c
blob: 3c18f3bd699e5a8e7f16590e3192cafbda97de24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O3 -ffast-math -mavx -mtune=generic" } */

double a[1024];

void dependence_distance_4 (void)
{
  int i;
  for (i = 0; i < 1020; ++i)
    a[i + 4] = a[i] + a[i + 4];
}

/* { dg-final { scan-assembler "vmovapd\[ \\t\]+\[^\n\]*%ymm" } } */