From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: john@feith.com (John Wehle) Cc: burley@gnu.org, d.love@dl.ac.uk, egcs@cygnus.com, davem@dm.cobaltmicro.com Subject: Re: ix86 double alignment (was Re: egcs-1.1 release schedule) Date: Wed, 24 Jun 1998 21:23:00 -0000 Message-id: <25521.898733296@hurl.cygnus.com> References: <199806242143.RAA15394@jwlab.FEITH.COM> X-SW-Source: 1998-06/msg00881.html 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