Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / vectorize5.c
blob38942404535e01daf8c93bb3a1fe1bf5f1408a5d
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2 -ftree-vectorize -mveclibabi=acml -ffast-math" } */
5 double x[256];
7 extern double sin(double);
9 void foo(void)
11 int i;
13 for (i=0; i<256; ++i)
14 x[i] = sin(x[i]);
17 /* { dg-final { scan-assembler "__vrd2_sin" } } */