The stack is aligned at 16 bytes with AltiVec (if not, this patch would not make sense).
Also, all char arrays are aligned at 16 bytes.
This patch causes other local stack arrays >= 16 bytes to be aligned at 16 bytes in order to
make more effective use of AltiVec instructions.

On 3/21/2011 3:01 PM, Andrew Pinski wrote:
On Mon, Mar 21, 2011 at 2:54 PM, Wellander, Pat - Code Sourcery
<pwell...@codesourcery.com>  wrote:
This is my first patch submittal so constructive criticism is appreciated.
This patch causes PowerPC AltiVec local stack arrays>  16 bytes to be
aligned at 16 bytes.
Wait I thought the alignment of the stack is 16 bytes so this patch is
normally not needed except for the case where someone does not use
-mabi=altivect.

Reply via email to