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-require-effective-target c99_runtime } */
       5  /* { dg-final { scan-assembler "fsincos" } } */
       6  
       7  extern double sin (double);
       8  extern double cos (double);
       9  
      10  double f1(double x)
      11  {
      12    return sin(x) + cos (x);
      13  }
      14