This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ix86 double alignment (was Re: egcs-1.1 release schedule)
- To: john at feith dot com (John Wehle)
- Subject: Re: ix86 double alignment (was Re: egcs-1.1 release schedule)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 24 Jun 1998 18:08:16 -0600
- cc: burley at gnu dot org, d dot love at dl dot ac dot uk, egcs at cygnus dot com, davem at dm dot cobaltmicro dot com
- Reply-To: law at cygnus dot com
In message <199806242143.RAA15394@jwlab.FEITH.COM>you write:
> What about defining PREFERRED_STACK_BOUNDARY to mean the optimal stack
> alignment and having it default to STACK_BOUNDARY? Then change the
> places which align the stack based on STACK_BOUNDARY to use
> PREFERRED_STACK_BOUNDARY. Leave code which implements optimizations
> (and records the stack alignment) based on STACK_BOUNDARY alone. This
> way gcc will attempt to align the stack based on PREFERRED_STACK_BOUNDARY
> and assume STACK_BOUNDARY when implementing optimizations which should
> be safe (assuming that PREFERRED_STACK_BOUNDARY >= STACK_BOUNDARY is
> enforced).
>
> I known ... I've probably oversimplified the issue. :-)
That's basically what I expect to happen, or something very similar.
jeff