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 Wed, Sep 19, 2001 at 12:10:16AM +0200, Toon Moene wrote:

> > 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 ?
> 
> I havn't thought it out completely, but,
> 
> If you find a DEST_ADDR giv that does more than (reg + offset),
> then you create new DEST_REG givs for each sub operation.  The
> benefit of the new givs would be zero, so we wouldn't reduce
> them unless they combined with something else.

Ah, OK, so it wouldn't work (optimally) when -freduce-all-givs is in
effect, because that would bypass benefit considerations ...

-- 
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]