diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-04-01 21:45:28 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2003-04-01 21:45:28 +0000 |
commit | fe0002ee9dd1311b3dc451132198def49a465203 (patch) | |
tree | 43a194f1d77d2dbf0fec3807a54f212259cb8abd /gcc/config/mips/t-iris6 | |
parent | 481a818131a2b5fae84cb3e1ad637edadfde657a (diff) | |
download | gcc-fe0002ee9dd1311b3dc451132198def49a465203.zip gcc-fe0002ee9dd1311b3dc451132198def49a465203.tar.gz gcc-fe0002ee9dd1311b3dc451132198def49a465203.tar.bz2 |
real.h (EXP_BITS): Make room for...
* real.h (EXP_BITS): Make room for...
(struct real_value): ... added canonical bit.
(struct real_format): Added pnan.
(mips_single_format, mips_double_format, mips_extended_format,
mips_quad_format): New.
* real.c: Copy p to pnan in all formats.
(get_canonical_qnan, get_canonical_snan): Set canonical bit.
(real_nan): Use pnan to compute significand's shift.
(real_identical): Disregard significand in canonical
NaNs.
(real_hash): Likewise. Take signalling into account.
(encode_ieee_single, encode_ieee_double, encode_ieee_quad):
Disregard significand bits in canonical NaNs. Set all bits of
canonical NaN if !qnan_msb_set.
(encode_ibm_extended, decode_ibm_extended): Likewise. Use
qnan_msb_set to tell the base double format.
(ibm_extended_format): Use 53 as pnan.
(mips_single_format, mips_double_format, mips_extended_format,
mips_quad_format): Copied from the corresponding ieee/ibm
formats, with qnan_msb_set false.
* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
* config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format.
* config/mips/mips.c (override_options): Use mips_single_format
and mips_double_format. Default TFmode to mips_quad_format.
* config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED.
* config/mips/t-irix6: Likewise.
* config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
* config/fp-bit.c (pack_d, unpack_d): Obey it.
From-SVN: r65146
Diffstat (limited to 'gcc/config/mips/t-iris6')
-rw-r--r-- | gcc/config/mips/t-iris6 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/mips/t-iris6 b/gcc/config/mips/t-iris6 index a1be0b9..d403df4 100644 --- a/gcc/config/mips/t-iris6 +++ b/gcc/config/mips/t-iris6 @@ -27,6 +27,7 @@ tp-bit.c: $(srcdir)/config/fp-bit.c echo '#ifdef __MIPSEL__' > tp-bit.c echo '# define FLOAT_BIT_ORDER_MISMATCH' >> tp-bit.c echo '#endif' >> tp-bit.c + echo '#define QUIET_NAN_NEGATED' >> dp-bit.c echo '#if __LDBL_MANT_DIG__ == 106' >> tp-bit.c echo '# define TFLOAT' >> tp-bit.c cat $(srcdir)/config/fp-bit.c >> tp-bit.c |