PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr27827.c
blob3b337444a40f367ec4f9b0085990616187107a80
1 /* { dg-do compile } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-O2 -mfpmath=387" } */
5 double a, b;
6 double f(double c)
8 double x = a * b;
9 return x + c * a;
12 /* { dg-final { scan-assembler-not "fld\[ \t\]*%st" } } */
13 /* { dg-final { scan-assembler "fmul\[ \t\]*%st" } } */