From d71f770043fd525ec3df1d33311f653ecdd80e88 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Mon, 12 Aug 2002 15:50:43 +0000 Subject: [PATCH] real.c (ieee_64): Always define. * real.c (ieee_64): Always define. (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. (dec_h): Not used yet, hide it. (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with macro controlling use. (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. From-SVN: r56232 --- gcc/ChangeLog | 9 +++++++++ gcc/real.c | 13 ++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 360b4a77e6e5..e317d5eb8838 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2002-08-12 Kaveh R. Ghazi + + * real.c (ieee_64): Always define. + (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. + (dec_h): Not used yet, hide it. + (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with + macro controlling use. + (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0. + Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka * i386.md (tablejump): Sign extend the operand. diff --git a/gcc/real.c b/gcc/real.c index 7583c193f198..d2e0a8d85c5f 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -342,6 +342,8 @@ static const struct ieee_format ieee_53 = EXONE - 0x3ff }; +#endif /* IEEE */ + /* IEEE extended double (64 bits). */ static const struct ieee_format ieee_64 = { @@ -352,6 +354,7 @@ static const struct ieee_format ieee_64 = 0 }; +#if (INTEL_EXTENDED_IEEE_FORMAT == 0) /* IEEE long double (113 bits). */ static const struct ieee_format ieee_113 = { @@ -361,7 +364,7 @@ static const struct ieee_format ieee_113 = TFmode, 0 }; -#endif +#endif /* INTEL_EXTENDED_IEEE_FORMAT == 0 */ #ifdef DEC /* DEC F float (24 bits). */ @@ -394,6 +397,7 @@ static const struct ieee_format dec_g = EXONE - 1025 }; +#if 0 /* DEC H float (113 bits). (not yet used) */ static const struct ieee_format dec_h = { @@ -404,6 +408,7 @@ static const struct ieee_format dec_h = EXONE - 16385 }; #endif +#endif /* DEC */ extern int extra_warnings; extern const UEMUSHORT ezero[NE], ehalf[NE], eone[NE], etwo[NE]; @@ -2594,7 +2599,7 @@ static void emdnorm (s, lost, subflg, exp, rcntrl) UEMUSHORT s[]; int lost; - int subflg; + int subflg ATTRIBUTE_UNUSED; EMULONG exp; int rcntrl; { @@ -2753,7 +2758,9 @@ emdnorm (s, lost, subflg, exp, rcntrl) #endif eaddm (rbit, s); } +#ifndef C4X mddone: +#endif /* Undo the temporary shift for denormal values. */ if ((exp <= 0) && (rndprc != NBITS) && ((rndprc != 64) || ((rndprc == 64) && ! REAL_WORDS_BIG_ENDIAN))) @@ -5961,7 +5968,7 @@ toc4x (x, y, mode) #ifdef TFMODE_NAN TFMODE_NAN; #else -#ifdef IEEE +#if defined (IEEE) && (INTEL_EXTENDED_IEEE_FORMAT == 0) static const UEMUSHORT TFbignan[8] = {0x7fff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}; static const UEMUSHORT TFlittlenan[8] = {0, 0, 0, 0, 0, 0, 0x8000, 0xffff}; -- 2.43.5