Re: Debugger support for __float128 type?
Jonas Maebe <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
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