Altivec + 16 byte alignment

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Feb 12 21:17:00 GMT 2003


On Wednesday 12 February 2003 01:42, Richard Henderson wrote:
> On Tue, Feb 11, 2003 at 07:29:37PM +0100, Franz Sirl wrote:
> > Now, if we would increase STACK_BOUNDARY to be
> > always 128 on powerpc-linux-gnu, would this affect binary compatibility
> > at all?
>
> Very much so.

I'm feeling dumb, but can you give an example? AFAICS STACK_BOUNDARY only 
affects the alignment of objects on the stack, argument aligning is 
independent from it and the stack pointer is kept aligned (to 256 bits) by 
independent code as well, so how can these objects passed between functions 
without passing pointers to the objects as well?

Franz.



More information about the Gcc mailing list