[PATCH] Implement ARM EHABI exception handling.

Joerg Sonnenberger joerg at britannica.bec.de
Tue May 6 12:33:02 PDT 2014


On Wed, May 07, 2014 at 12:14:32AM +0800, Logan Chien wrote:
> > Can you use __LDBL_MANT_DIG__ == 64 instead?
> >
> 
> It seems that __LDBL_MANT_DIG__ stands for the number of bits of
> significand (or mantissa.)  However, I wish to know the size of long
> double.  AFAIK, there is no macro for this.  Any good suggestion?  Thanks.

Problem is that the size of long double may include additional padding,
so it gets rounded up to 12 or 16 bytes. On AMD64, you will get a size
of 16 bytes for SPARC64 as well, but it has a different encoding.

Joerg



More information about the cfe-commits mailing list