Altivec + 16 byte alignment

Neil Booth neil@daikokuya.co.uk
Tue Feb 11 20:34:00 GMT 2003


Richard Kenner wrote:-

>     Isn't an even better place to do it in the front end, just after parsing
>     the alignment request?
> 
> Probably not, since it would then have to know the complex formula used
> to say what's supported and what isn't.

It's just a function call, exposed to the front end.  Nice and clean.

> And then you have the problem of alignment of *types*, where you have to
> be able to guarantee the alignment for both stack and memory.

Why is that a problem?

Neil.



More information about the Gcc mailing list