PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / vectorize6.c
blobd299a1551bf9801045eac32148bf12dd41514715
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -msse2 -ftree-vectorize -mveclibabi=svml -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 "vmldSin2" } } */