nightmares with biased stack pointers
Joern Rennecke
amylaar@cygnus.co.uk
Tue Sep 16 06:17:00 GMT 1997
> > Or do the elimination macros handle all of this transparently (or
> > can be made to do so)?
>
> No, you have to define GO_IF_LEGITIMATE_ADDRESS to handle this
> correctly. If you have LEGITIMIZE_ADDRESS, that macro might need
> adjustments too.
>
> Oh I see, so you teach those macros to check if a stack relative
> offset is "in range" and if not, tell the caller to generate a reload,
> right?
Sort of. However, GO_IF_ELGITIMIZE_ADDRESS is used in multiple places,
some of them not in reload. And LEGITIMIZE_ADDRESS is only used in a single
place in explow.c, not in reload at all.
More information about the Gcc
mailing list