From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Lehmann To: egcs@cygnus.com Subject: Re: x86 double alignment (was egcs-1.1 release schedule) Date: Sun, 28 Jun 1998 18:02:00 -0000 Message-id: <19980628214206.41039@cerebro.laendle> References: <17847.898579790@hurl.cygnus.com> <19980624192457.45730@cerebro.laendle> <35929359.562F7F63@hunt.inmet.com> X-SW-Source: 1998-06/msg01036.html On Thu, Jun 25, 1998 at 11:13:45AM -0700, PÃ¥l-Kristian Engstad wrote: > Hi! > > Although double-alignment on stack variables would be a bad idea (for > most situations), it would make perfect sense in certain situations. > > For instance, leaf functions could certainly benefit from being stack > aligned. Also, functions which only call leaf functions that are stack > aligned can use stack alignment. I don't see why this is only beneficial for leaf functions? Any functions using doubles heavily benefits from this optimization. Unfortunately, its almost impossible to enforce stack alignment only for leaf functions.. -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ --+ The choice of a GNU generation | |