Loop patch update (Was: Re: Autoincrement examples)

Jeffrey A Law law@cygnus.com
Mon Dec 13 20:20:00 GMT 1999


  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



More information about the Gcc mailing list