blob: 1a40cd719d894605dab3d9ed71eee111082fdabe [file] [log] [blame]
/* Verify that 387 fsincos instruction is generated. */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -march=i686" } */
/* { dg-final { scan-assembler "fsincos" } } */
extern double sin (double);
extern double cos (double);
double f1(double x)
{
return sin(x) + cos (x);
}