This is the mail archive of the gcc-patches@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: Update for spill cost calculation



  In message <Pine.GSO.4.02A.9809101548500.28834-100000@matlock.informatik.rwth-aachen.de>you write:
  > The following patch is an addition to John Wehle's change from Sep 5.  Now
  > that regs allocated by local-alloc can be reallocated if they are spilled,
  > the spill cost calculation no longer needs to take into account whether
  > the register was allocated by local-alloc or by global.
  > 
  > The patch is minimally tested (it compiles...), but I haven't verified its
  > effect on code quality.
  > 
  > Bernd
  > 
  > 	* global.c (reg_allocno): Now static.
  > 	* reload1.c (reg_allocno): Delete declaration.
  > 	(order_regs_for_reload): Take no arguments.  Don't treat regs
  > 	allocated by global differently than those allocated by local-alloc.
It sounds like the right thing to do.  I've installed the patch.

Thanks!
jeff


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