This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gfortran and using C99 cbrt for X ** (1./3.)


Toon Moene wrote:

I can measure the contribution of the cbrt effect in isolation, though (given the above change of HIRLAM source code).

Well, the effect of the cbrt change (X ** (1./3.) -> cbrt(X)) is close to zero.


Some other change must have diminished the number of pow[f] calls substantially. I think Andrew P's patch to declare the Fortran pow functions constant might be a good candidate.

[ I did this exercise for g77 in 2000 - I'd never thought that that
  wouldn't be the basis for people to work on gfortran ... ]

Cheers,

--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
A maintainer of GNU Fortran: http://gcc.gnu.org/fortran/
Who's working on GNU Fortran: http://gcc.gnu.org/ml/gcc/2006-01/msg00000.html



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]