This is the mail archive of the
mailing list for the GCC project.
Re: How should _Decimal64 and _Decimal128 be aligned on stack?
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: H.J. <hjl dot tools at gmail dot com>
- Cc: "IA32 System V Application Binary Interface" <ia32-abi at googlegroups dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 21 Mar 2008 17:37:24 -0700
- Subject: Re: How should _Decimal64 and _Decimal128 be aligned on stack?
- References: <firstname.lastname@example.org>
On Fri, Mar 21, 2008 at 5:29 PM, H.J. <email@example.com> wrote:
> When passing _Decimal64 or _Decimal128 to a function via stack, how
> should they be aligned? Currently, gcc aligns them at 4byte boundary.
> Is this desirable?
Shouldn't it always be 4 byte aligned because the SysV ABI only talks
about word alignment?