How should _Decimal64 and _Decimal128 be aligned on stack?

Andrew Pinski pinskia@gmail.com
Sat Mar 22 04:00:00 GMT 2008


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



More information about the Gcc mailing list