This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec + 16 byte alignment
- From: Geert Bosch <bosch at gnat dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: geoffk at geoffk dot org, gcc at gcc dot gnu dot org
- Date: Tue, 11 Feb 2003 15:01:48 -0500
- Subject: Re: Altivec + 16 byte alignment
On Tuesday, Feb 11, 2003, at 14:06 America/New_York, Richard Kenner
wrote:
My question is this: suppose a user says "I need this variable or type
aligned to an N bit boundary". How can you tell, as a function of N,
whether you can do that or not?
I think it would be very useful if the answer would always be yes.
Then, in cases where GCC cannot guarantee proper alignment, extra
code should be generated to properly align the stack frame.
-Geert