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: contribution


Andi Kleen wrote:

> > > You could compiled 172.mgrid with gcc twice this way and it showed
> > > 48% improvement ? Or did you use a different compiler as backend?
> > > If you used gcc - is it known where that huge difference comes
> > > from?

> To be honest I don't believe that he got that result with multiple runs
> of gcc. If yes that would be a very bad bug in the optimizer. More likely
> it was reached with the proprietary Sun compiler as backend (that would
> make the patch more a porting tool for GNU C programs to Sun C)

Hmm, I wouldn't be surprised at all ...  When g77 came out (in February
'95) we had a hard time beating the f2c+gcc combo.  It might still be
the case that, e.g., multi-rank array code (as in mgrid) is treated more
optimally by the gcc middle-end when first "squashed" by a Fortran to C
converter into a linear array.

--
Toon Moene, KNMI, PO Box 201, 3730 AE De Bilt, The Netherlands.
Tel. +31302206443, Fax +31302210407,  e-mail moene@knmi.nl
URL: http://www.knmi.nl/hirlam


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