This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RS6000 Altivec stack layout fix
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, David Edelsohn <dje at watson dot ibm dot com>,Andreas Jaeger <aj at suse dot de>, Marcus Meissner <meissner at suse dot de>,Michael Matz <matz at suse dot de>
- Date: Thu, 15 Apr 2004 22:18:03 +0930
- Subject: Re: RS6000 Altivec stack layout fix
- References: <20040415081033.GF15757@bubble.modra.org> <20040415122112.GB20990@redhat.com>
On Thu, Apr 15, 2004 at 08:21:13AM -0400, Aldy Hernandez wrote:
> Hmmm, both STARTING_FRAME_OFFSET and rs6000_stack_info should key off
> of TARGET_ALTIVEC_ABI instead of TARGET_ALTIVEC.
>
> We should probably review anything that may need TARGET_ALTIVEC_ABI
> instead of TARGET_ALTIVEC...perhaps later.
>
> OK with those 2 changes.
Aldy, I'm not really comfortable with changing TARGET_ALTIVEC to
TARGET_ALTIVEC_ABI in just these two places. At the very least,
STACK_DYNAMIC_OFFSET needs the same treatment. I'd be much more
comfortable with leaving STARTING_FRAME_OFFSET as is, and make a
wholesale change to TARGET_ALTIVEC_ABI at a later date.
--
Alan Modra
IBM OzLabs - Linux Technology Centre