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]
Other format: [Raw text]

Re: Query about reload pass !!


>I am interested to know how exactly replacement of
>regs which fail to get hard regs take place.

Pseudo-regs are unique rtl, so we only have to make one change in order to
modify all uses of a pseudo-reg.  This is done in alter_reg to convert
pseudo-regs into hard-regs, and near the end of reload() to convert pseudo
regs into MEMs.  Search for regno_reg_rtx.

>And does new reg allocator also has similar 
>processing.

I don't know.  Probably.


Jim


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