This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop patch update (Was: Re: Autoincrement examples)
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: Loop patch update (Was: Re: Autoincrement examples)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 13 Dec 1999 21:16:31 -0700
- cc: m dot hayes at elec dot canterbury dot ac dot nz, gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199912132235.WAA28605@phal.cygnus.co.uk>you write:
[ ... ]
> The first problem - fixed by the first hunk - was an outright bug: the
> sign of the calculated lifetime was wrong.
>
> The second one is rather a missing feature: we didn't take into account tha
> t
> reducing a DEST_REG giv that can be combined with a giv is really pretty
> cheap.
>
> Mon Dec 13 22:30:36 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
>
> * loop.c (strength_reduce): Fix sign of giv lifetime calculation
> for givs made from biv increments.
> Don't reject giv for its cost if can likely be combined with the biv.
Assuming this doesn't depend on the other loop changes in the queue, you can
install it.
Thanks,
jeff