[PATCH] rs6000: Enable more sibcalls when TOC is not preserved

Segher Boessenkool segher@kernel.crashing.org
Wed Aug 19 18:10:02 GMT 2020


Hi!

On Wed, Aug 19, 2020 at 09:40:16AM -0500, Bill Schmidt wrote:
> A function compiled with the PC-relative addressing model does not
> require r2 to contain a TOC pointer, and does not guarantee that r2
> will be preserved for its caller.  Such a function can make sibcalls
> without restriction based on TOC preservation rules.  However, a
> caller that does preserve r2 cannot make a sibcall to a callee that
> does not.

This looks fine.  _Is_ fine even, afaics :-)  Okay for trunk.

Thanks!


Segher


More information about the Gcc-patches mailing list