This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec + 16 byte alignment
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 11 Feb 2003 20:34:40 +0000
- Subject: Re: Altivec + 16 byte alignment
- References: <10302112036.AA20558@vlsi1.ultra.nyu.edu>
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.