This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Polyhedron shootout between g95 and gfortran


Dominique,

induct.f90 use dot_product with length 3 vectors. A couple of months
ago Paul Thomas propsed a patch to inline the dot_product.
On a G5 (1.8Ghz) I get 295.2s without the patch and 68.4s with it.

I should add that your diagnosis is correct - dot_product is screwed up; not just on timing grounds but also because the range of quotients that it produces a good result for is quite limited. It is an occasion in which fast-math is just that and better in its output.

If somebody would like to come back and put the finishing touches to my patch, I would be very grateful.

Paul



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