1 /* Verify that 387 fsincos instruction is generated. */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target ilp32 } */
4 /* { dg-options "-O -funsafe-math-optimizations -march=i686" } */
6 extern double sin (double);
7 extern double cos (double);
8 extern void sincos (double, double *, double *);
33 /* { dg-final { scan-assembler "fsincos" } } */
34 /* { dg-final { scan-assembler-not "fsin " } } */
35 /* { dg-final { scan-assembler-not "fcos" } } */
36 /* { dg-final { scan-assembler-not "call" } } */