stack size limit on ppc/ppc64
Alan Modra
amodra at bigpond.net.au
Wed Nov 5 18:27:23 EST 2003
On Wed, Nov 05, 2003 at 09:13:30AM +0530, Anil K Prasad wrote:
>
> >There are a few things to change for ppc64:
> >- add the 64bit versions of the store with update instructions
> >- keep in mind the 64bit ABI allows space below the sp to be used (it
> > looks like the 2048 constant will cover this)
>
> >Does anyone feel in the mood to work on this?
>
> I can work your code fragment and fine tune it..
ppc64 stack frames are required to be set up using stdu or stdux (set
back chain and update sp atomically), so I can't see that it's necessary
to check all the byte and word insns.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list