This is the mail archive of the gcc@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: big slowdown in egcs-1.1.2->gcc-2.95 on alpha


  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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]