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 <200103020236.f222a8i11812@phal.cambridge.redhat.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.
True.  But we can only do those promotions when we know those registers 
are live and unchanging throughout the entire function.  That is the
fundamental problem I see with the code as it stands right now.

jfef



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