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: LEGITIMIZE_RELOAD_ADDRESS vs address_reloaded


On Fri, Nov 25, 2005 at 07:20:52PM +0100, Ulrich Weigand wrote:
> > c) Modify the ppc 'Z' constraint to match the indexed address reload
> > generates.  This would rely on the pattern we generate in
> > LEGITIMIZE_RELOAD_ADDRESS never being generated elsewhere.
[snip]
> 
> Overall, I'd tend to prefer something along the lines of (c), in
> particular as it would also catch the cases where 
> LEGITIMIZE_RELOAD_ADDRESS isn't actually involved, as you note:

Thanks.  I went ahead and implemented this, and yes, the testcase in
pr24997 has better code in other places too.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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