Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2011 07:11:50 -0500
From:      Ryan Stone <rysto32@gmail.com>
To:        Peter Blok <peter.blok@bsd4all.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: What does the FreeBSD/i386 ABI say about stack alignment?
Message-ID:  <AANLkTim1KcKRXqrPoZDHOAKWtnVpUj6QBzJ-addyCvHe@mail.gmail.com>
In-Reply-To: <C955CD62.389D1%peter.blok@bsd4all.org>
References:  <4D2F8BFE.9070607@bsdimp.com> <C955CD62.389D1%peter.blok@bsd4all.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 14, 2011 at 3:52 AM, Peter Blok <peter.blok@bsd4all.org> wrote:
> Hi,
>
> I=B9m probably missing something but if you require a stack variable to b=
e
> aligned why not use a type attribute like __attribute__ ((aligned (8)))
>
> Peter

In my case I had no stack variable that required alignment.  gcc
issued some movdqa instructions in order to initialize a memory region
on the stack to all-zeros.



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