On Fri, Feb 26, 2010 at 06:09:37PM +0100, Paolo Carlini wrote: > On 02/26/2010 05:36 PM, Andreas Schwab wrote: > > See libiberty/floatformat.c. > > > Ok, thanks. Actually, it looks like there is *no* padding in the middle > for the Intel x87 format I truly care about: > > const struct floatformat floatformat_i387_ext = > { > floatformat_little, 80, 0, 1, 15, 0x3fff, 0x7fff, 16, 64, > > I read it as meaning 0 sign, 1-15 exponent, 16-79 mantissa. > > But really we don't want to deal with all those special cases for other > formats, for now at least. Too bad.
Despite all that exchange, I don't think you ever answered Andreas's question - at least not in a way that I could understand. A size of what? The size of the *type* on x86 is 16; the size of the *data bits* is 10. But what cares about the size of the data bits rather than e.g. the size of the mantissa? -- Daniel Jacobowitz CodeSourcery