This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rs6000 stack boundary


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]