1 2 3 4 5 6 7 8 9 10 11 12 13
/* Verify that 387 fsincos instruction is generated. */ /* { dg-do compile } */ /* { dg-options "-O -ffast-math -mfpmath=387 -mfancy-math-387" } */ /* { dg-final { scan-assembler "fsincos" } } */ extern double sin (double); extern double cos (double); double f1(double x) { return sin(x) + cos (x); }