Debian Codegraph @

gcc/testsuite/gcc.target/i386/vectorize6.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse2 -ftree-vectorize -mveclibabi=svml -ffast-math -mtune=generic" } */
3
4 double x[256];
5
6 extern double sin(double);
7
8 void foo(void)
9 {
10 int i;
11
12 for (i=0; i<256; ++i)
13 x[i] = sin(x[i]);
14 }
15
16 /* { dg-final { scan-assembler "vmldSin2" } } */