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


> On Fri, Mar 02, 2001 at 02:36:08AM +0000, Joern Rennecke wrote:
> > >   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.
> 
> I think he meant "pseudo register mentioned", which is what
> Jeff had being talking about.

You're very kind. :-)  Actually I was taking the viewpoint that
promoting a REG_EQUAL which mentions hard registers (other than
FIXED_REGISTERs) will probably have the same reload problem that
Jeff mentioned.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


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