summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/387-11.c
blob: 869f6061c3842c77f04a437d229fe8c7271937f1 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -mfpmath=387 -mfancy-math-387" } */

double foo(double x, double y)
{
  double t = -x * y;
  return -t;
}

/* { dg-final { scan-assembler-not "fchs" } } */