1 2 3 4 5 6 7 8 9 10 11 12 13
/* { dg-do compile } */ /* { dg-require-effective-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" } } */