aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr27827.c
blob: 873fea57446e6378a423ed1c00c7fd4e8786fdf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target ilp32 } } */
/* { dg-options "-O2 -mfpmath=387" } */

double a, b;
double f(double c)
{
  double x = a * b;
  return x + c * a;
}

/* { dg-final { scan-assembler-not "fld\[ \t\]*%st" } } */
/* { dg-final { scan-assembler "fmul\[ \t\]*%st" } } */