Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jonas Maebe <jonas.maebe@elis.ugent.be>
To: gdb@sourceware.org
Subject: Re: Debugger support for __float128 type?
Date: Fri, 02 Oct 2015 09:41:00 -0000	[thread overview]
Message-ID: <20151002114142.Horde.U2k-JkisJlFWDlFWvl7hOVA@mail.elis.ugent.be> (raw)
In-Reply-To: <20151001161641.3D31813CC@oc7340732750.ibm.com>


Ulrich Weigand wrote on Thu, 01 Oct 2015:

> Right, that's the current situation on PowerPC.  (On Intel, long double
> is the 80-bit IEEE extended type, padded to either 12 bytes (32-bit)
> or 16 bytes (64-bit), while __float128 is IEEE quad-precision.)

A side note here: the Free Pascal Compiler supports the 80-bit  
extended type stored in memory as either 10 bytes (for Turbo Pascal  
and Delphi compatibility) or using the ABI-specified size (which is 16  
bytes for Darwin/i386, and otherwise as you mention above).

We always output the used bytesize in the DWARF info, and in case  
there are padding bytes (i.e., the non-10-byte size cases) we also  
emit the DW_AT_bit_offset.

I don't know how important it is in this context, but it may be useful  
to keep in mind.


Jonas


      reply	other threads:[~2015-10-02  9:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 17:33 Ulrich Weigand
2015-09-30 20:12 ` Joseph Myers
2015-10-01 17:23   ` Ulrich Weigand
2015-10-01 20:40     ` Joseph Myers
2015-10-02 15:18       ` Ulrich Weigand
2015-10-02 15:41         ` Joseph Myers
2015-10-02 16:01           ` Ulrich Weigand
2015-09-30 22:42 ` Mark Kettenis
2015-10-01  9:46   ` Gabriel Paubert
2015-10-01 16:16   ` Ulrich Weigand
2015-10-02  9:41     ` Jonas Maebe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151002114142.Horde.U2k-JkisJlFWDlFWvl7hOVA@mail.elis.ugent.be \
    --to=jonas.maebe@elis.ugent.be \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox