Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2011 16:10:35 -0800
From:      Yuri <yuri@rawbw.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD ABI?
Message-ID:  <4D62FEFB.1070709@rawbw.com>
In-Reply-To: <20110221233817.GA4792@britannica.bec.de>
References:  <AANLkTi=xLRuiEm_zZNOtnFFUX0_UoqRGq2Fb6ZLS2h%2Bp@mail.gmail.com>	<4D62F267.3000706@rawbw.com> <20110221233817.GA4792@britannica.bec.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/21/2011 15:38, Joerg Sonnenberger wrote:
> That's a major difference. The Linux people decided a while ago that
> stack alignment should be 16 Byte. GCC effectively forces that down
> everyone's throat because until at least GCC 4.2 or 4.3, it can't
> correctly realign the stack and just fails miserable. I would be
> surprised if it was a conscious decision for the Solaris either.
>    

On the other hand, 16 byte alignment allows for some extra 
optimizations. For example many SIMD instructions like movdqa can only 
be used on 16 byte aligned values. That's why linux probably decided to 
change this.

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D62FEFB.1070709>