OSDN Git Service

* config/fp-bit.h: Define macros for TFmode floating-point
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jan 2003 09:33:46 +0000 (09:33 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jan 2003 09:33:46 +0000 (09:33 +0000)
commit5b7344c755ba58ae2dc8c0d0a5ff977fb1d81f0a
treeca6525c88d9e57f193a1975dabea02ab0c163062
parentc509f41bea9a2a98e4433b84e79dadd95d402b77
* config/fp-bit.h: Define macros for TFmode floating-point
constants in IEEE quad TFmode type.  Declare functions according
to L_ macros.
(TMODES): Define if __LDBL_MANT_DIG__ is 113.
(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 quad type.
(_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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61835 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/fp-bit.c
gcc/config/fp-bit.h