This is the mail archive of the
gcc@gcc.gnu.org
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: <5b2c4dff-3b96-488e-9556-d84f6b65b961@i12g2000prf.googlegroups.com>
On Fri, Mar 21, 2008 at 5:29 PM, H.J. <hjl.tools@gmail.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?
Thanks,
Andrew Pinski