A proposal to align GCC stack
Andrew Pinski
pinskia@gmail.com
Wed Dec 19 10:33:00 GMT 2007
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
More information about the Gcc
mailing list