Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / vectorize5.c
blob04f044f621dadbbb6937596529abc2bc127f8613
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2 -ftree-vectorize -mveclibabi=acml -ffast-math -mtune=generic" } */
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" } } */