Add another 256bit vectorizer test.

2010-10-14  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/vect-sizes-1.c: New.

From-SVN: r165458
This commit is contained in:
H.J. Lu 2010-10-14 08:49:27 +00:00 committed by H.J. Lu
parent 4efeac88ee
commit 6203e21acb
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/vect-sizes-1.c: New.
2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/46011

View File

@ -0,0 +1,13 @@
/* { dg-do compile } */
/* { dg-options "-O3 -ffast-math -mavx" } */
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" } } */