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

Re: [RTL, ColdFire 24/63] Add support for a MODE_INDEX_REG_CLASS macro


Richard Sandiford <richard@codesourcery.com> writes:

> I'd always been told that L_R_A should
> only be used for optimisation, and that it was wrong to rely on it for
> correctness.

I want to comment that I've heard people say that too, but I think it
is, well, over optimistic.  When weird addressing modes are in play, I
believe that LEGITIMIZE_RELOAD_ADDRESS is currently required to handle
them.  The alternative is to teach reload about all possibilities for
all chips, and that does not make sense to me.

Ian


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