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: RFC -- update_equiv_regs and friends




  In message <200103020244.VAA00565@jwlab.FEITH.COM>you write:
  > > >   2) Change update_equiv_regs so it doesn't promote a REG_EQUAL note
  > > >      to a REG_EQUIV if there's a register mentioned.
  > > 
  > > Promoting REG_EQUAL to REG_EQUIV is an important optimization for some
  > > procesors for sums involving the stack pointer, the frame pointer,
  > > virtual_stack_var_rtx and the argument pointer.
  > 
  > So allow the promation if the register is FIXED_REGISTERS?
If it's fixed, or otherwise globally live and unchanging.  So for example
we can include the frame pointer, even if it isn't fixed.  It's a little
more difficult to determine if we can use the arg pointer :-)

jeff


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