1 /* Verify that 387 fsincos instruction is generated. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -funsafe-math-optimizations -mfpmath=387 -mfancy-math-387" } */
5 extern double sin (double);
6 extern double cos (double);
7 extern void sincos (double, double *, double *);
32 /* { dg-final { scan-assembler "fsincos" } } */
33 /* { dg-final { scan-assembler-not "fsin " } } */
34 /* { dg-final { scan-assembler-not "fcos" } } */
35 /* { dg-final { scan-assembler-not "call" } } */