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