This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Saturday 13th giv combination change
- To: rth at cygnus dot com
- Subject: Saturday 13th giv combination change
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 15 Feb 1999 23:23:51 +0000 (GMT)
- Cc: egcs at egcs dot cygnus dot com
Sat Feb 13 23:29:42 1999 Richard Henderson <rth@cygnus.com>
* loop.c (combine_givs_used_by_other): Delete.
(combine_givs_benefit_from): Delete.
(combine_givs): Deny combination of givs only used once. Simplify
code with the death of combine_givs_benefit_from.
This change needlessly supresses combination of DEST_REG givs that are used
for something else than computing DEST_ADDR givs.
On the other hand, you happily combine a DEST_REG givs (as 'g2') with
DEST_ADDR that they are themselves used to compute, thus exaggarating the
benefit of the DEST_REG giv and reducing the giv even if it's not actually
worth while.