This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: big slowdown in egcs-1.1.2->gcc-2.95 on alpha
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: big slowdown in egcs-1.1.2->gcc-2.95 on alpha
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 05 Nov 1999 16:42:29 -0700
- cc: lucier at math dot purdue dot edu (Brad Lucier), rth at cygnus dot com, gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, staff at math dot purdue dot edu, hosking at cs dot purdue dot edu, wilker at math dot purdue dot edu, bernds at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199911051840.SAA21033@phal.cygnus.co.uk>you write:
> Well, since it worked for one place that looks for set bits in allocno sets
> ,
> let's see if it works in the two other ones:
>
> Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
>
> * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
> (EXECUTE_IF_CONFLICT): Likewise.
> (ALLOCNO_LIVE_P): Avoid signed division.
> (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
> (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
> (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
~8% off my testcase.
There was a minor buglet in the change -- you've got go be careful about
expansion of macro arguments :-) The addition of a level of parens fixed
the problem.
jeff