Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / 387-7.c
blobe01ed2e057638b4633a3055b6780325ecae5d55c
1 /* Verify that 387 fsincos instruction is generated. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -ffast-math -mfpmath=387 -mfancy-math-387" } */
4 /* { dg-final { scan-assembler "fsincos" } } */
6 extern double sin (double);
7 extern double cos (double);
9 double f1(double x)
11 return sin(x) + cos (x);