This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PowerPC] PR23774 stack backchain broken saga
On Tue, Sep 13, 2005 at 11:28:07AM +0200, Segher Boessenkool wrote:
> Especially as the ABI states that the write of the backlink
> and the stack pointer update _have_ to be done in one insn.
That's on allocation. Deallocation isn't so critical. You just need to
ensure the backchain is written before updating sp.
Hmm, on powerpc64-linux you could even alloc up to 288 bytes without
an atomic update, since 288 bytes below the current sp is available for
use.
--
Alan Modra
IBM OzLabs - Linux Technology Centre