This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000 stack boundary
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Apr 2004 10:42:35 -0400
- Subject: Re: rs6000 stack boundary
- References: <20040430143702.GO2565@bubble.modra.org>
>>>>> Alan Modra writes:
Alan> Fixes some problems with STACK_BOUNDARY. Altivec needs 16 byte
Alan> alignment whether or no -mabi=altivec is given, and PowerPC64 Linux
Alan> always has a 16 byte aligned stack. On PowerPC64 Linux, the sysv4.h
Alan> definition unfortunately overrode the rs6000.h one.
Alan> * config/rs6000/rs6000.h (STACK_BOUNDARY): Use 128 bit for either
Alan> TARGET_ALTIVEC or TARGET_ALTIVEC_ABI.
Alan> * config/rs6000/sysv4.h (ABI_STACK_BOUNDARY): Likewise.
Alan> (STACK_BOUNDARY): Delete.
Alan> Regression tested powerpc64-linux. OK for mainline?
Okay.
David