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: PATCH to remove unnecessary NOTE_INSN_DELETED



  In message <199911041256.MAA17092@cam-mail1.cambridge.arm.com>you write:
  > I was thinking along the lines of (reg regnum assignednum) where regnum is 
  > the original number assigned to the reg at its creation, and assigned num 
  > is the currently assigned number; during reload the register would get 
  > assigned a hard register and the assignednum would become the hard 
  > register number.  Assigned num is the number that would get munged as 
  > appropriate to reduce space.
regnum must get munged into the hard register once reload has done it's
thing.  Else all those REGNO macros used all over the compiler would have
to get updated.

I still think we can put the pseudo into the other field so that you can get
at this information.

  > However, your suggestion about being able to reference REGNO_POINTER_* 
  > after reload might lead to some interesting peephole opportunities if the 
  > information could be guaranteed to be still reliable.
Getting REGNO_POINTER_FLAG is pretty easy (it should just move into the 
REG rtx).  We could to the same with REGNO_POINTER_ALIGN.

jeff


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