Irix6 long doubles implemented wrong? (27_io/ostream_inserter_arith)
Alexandre Oliva
aoliva@redhat.com
Sun Jan 26 10:07:00 GMT 2003
On Jan 7, 2003, Richard Henderson <rth@redhat.com> wrote:
>> * fp-bit.h: Define macros for TFmode floating-point constants
>> in IEEE and IBM-extended TFmode types. Declare functions
>> according to L_ macros.
>> (TMODES): Define if __LDBL_MANT_DIG__ has one of
>> the newly-supported widths.
>> (TFtype, TItype, UTItype): Define if TMODES is defined.
>> (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
>> (F_T_BITOFF, D_T_BITOFF): Define.
>> (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
>> guaranteed to be wide enough.
>> * config/fp-bit.c: Check for L_ macros for tf functions.
>> (__thenan_tf): New.
>> (nan): Adjust.
>> (pack_d, unpack_d): Support IEEE 854 and IBM-extended TFmode
>> types.
>> (_fpmul_parts): Support TFmode. Compute exponent adjustment
>> from FRAC_NBITS, FRAC_BITS and NGARDS.
>> (usi_to_float): Cast constants to be shifted to fractype
>> instead of assuming long long is wide enough.
>> (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
> Ok
I'm checking this in, leaving out the parts that support the IBM
extended format, that still need some tweaking.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-mips-tfmode-fp-bit.patch
Type: text/x-patch
Size: 22550 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030126/67a57ace/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the Gcc-bugs
mailing list