PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / vectorize5.c
blob29f2b174f15733f84460604b52f56b9f069d5807
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -ftree-vectorize -mveclibabi=acml -ffast-math -mtune=generic" } */
4 double x[256];
6 extern double sin(double);
8 void foo(void)
10 int i;
12 for (i=0; i<256; ++i)
13 x[i] = sin(x[i]);
16 /* { dg-final { scan-assembler "__vrd2_sin" } } */