This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How should _Decimal64 and _Decimal128 be aligned on stack?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]