1 /* { dg-do compile } */
2 /* { dg-options "-ffast-math" } */
4 void foo(int n
, int nreps
, float tdgefa
, float tdgesl
)
7 ops
=((2.0*n
*n
*n
)/3.0+2.0*n
*n
);
8 kflops
=2.*nreps
*ops
/(1000.*(tdgefa
+tdgesl
));
10 __builtin_printf ("%f\n", kflops
);