reload displacement optimization

Richard Henderson rth@cygnus.com
Sat Apr 4 20:05:00 GMT 1998


On Thu, Apr 02, 1998 at 11:50:05PM -0700, Jeffrey A Law wrote:
> Note the documentation says nothing about the need to call push_reload
> on the address you actually want reloaded.

The documentation said that "you may" call push_reload to get things
done.  I've bumped push_reload up to the top of the list to make it
more obvious, and strengthened the wording to "should".

> I also vaguely remember a question about any structure sharing
> assumptions made by LEGITIMIZE_RELOAD_ADDRESS.  Do you need to
> call copy_rtx on the address?

The matter of structure shareing is discussed quite clearly, I think,
immediately after where it discusses push_reload.  Copy_rtx is mentioned
two paragraphs below as something that you might want to use.


r~



More information about the Gcc mailing list