This is the mail archive of the gcc-patches@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]

Re: [Patch] Do not rerun loop optimisation by default.


Richard Henderson wrote:

> On Sat, Sep 15, 2001 at 05:43:55PM +0200, Toon Moene wrote:

> > Promotion of BIVs to GIVs would solve the problem, but is probably not
> > the only way to solve it.  After all, it's only necessary to have them
> > participate in the search for optimal induction variable combining.

> The best way would be to be able to create new synthetic GIVs that are
> the optimial base address for the DEST_ADDR givs.  At present, if we
> are presented with complex addresses as input to loop, we may not have
> any intermediate IV on which to common several DEST_ADDRs, and thus we
> will fail to combine them at all.

The way you formulate this proposal suggests that you have an algorithm
for constructing "synthetic GIVs that are the optimal base address for
the DEST_ADDR GIVs".

How would you do that ?

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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