This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A proposal to align GCC stack
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Ross Ridge" <rridge at csclub dot uwaterloo dot ca>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 19 Dec 2007 02:06:34 -0800
- Subject: Re: A proposal to align GCC stack
- References: <20071219031617.02C7073CC4@caffeine.csclub.uwaterloo.ca>
On 12/18/07, Ross Ridge <rridge@csclub.uwaterloo.ca> wrote:
> Look at it another way. Lets say you were compiling x86_64 code with
> -fpreferred-stack-boundary=3, an 8-byte PREFERRED alignment.
Can we stop talking about x86/x86_64 specifics issues here? I have an
use case for the PowerPC side of the Cell BE for variables greater
than the normal stack boundary alignment of 16bytes. They need to be
128byte aligned for DMA transfering to the SPUs.
I already proposed a patch [1] to fix this use case but I have not
seen many replies yet.
Thanks,
Andrew Pinski
[1] http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01167.html