Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / vectorize7.c
blob10b7ba27868abdf11ac446de884519f5382231ab
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -msse2" } */
4 unsigned int a[256];
5 float b[256];
7 void foo(void)
9 int i;
11 for (i=0; i<256; ++i)
12 b[i] = a[i];
15 /* { dg-final { scan-assembler "cvtdq2ps" } } */