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: [PATCH,rs6000] fix ICE caused by lax rs6000_legitimize_address


On Wed, Nov 12, 2008 at 8:22 PM, Alan Modra <amodra@bigpond.net.au> wrote:

> This is what I expected to see, no benefit from trying to do something
> special in rs6000_legitimize_address for these odd offsets.  I think
> a better patch for the bug would be the following (totally untested!)

Either approach will produce the same number of instructions and use
the same number of registers.  The difference is whether the remaining
displacement is zero or non-zero.  The new register value is unlikely to
be reused.  Either approach is okay with me.

Thanks, David


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