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 got a bit stuck with this patch; largely because of REAL(10) problems. It is one of a very long list of TODOs that I will get back to as soon as I can.

Note that I also use another Paul Thomas' patch in dependency.c
to speed up the line

b(:,j) = b(:,j)-temp*c

So may be we can team together to press Paul to include these two patches in the snapshots (at least in 4.2).

This last is about to be committed - probably on Friday. I had held it back because I was aware that there are many other improvements that can be made in dependency.c and its callers; I had hoped to deal with more than one of them before submitting a definitive patch. However, other pressures have interceded... ie. yet another TODO. On teh positive side, the time delay has enormously improved the patch that I will commit.

Slogging away at it.

Paul


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