Commit d71f7700 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent c16576e6
2002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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 <jh@suse.cz> Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.md (tablejump): Sign extend the operand. * i386.md (tablejump): Sign extend the operand.
......
...@@ -342,6 +342,8 @@ static const struct ieee_format ieee_53 = ...@@ -342,6 +342,8 @@ static const struct ieee_format ieee_53 =
EXONE - 0x3ff EXONE - 0x3ff
}; };
#endif /* IEEE */
/* IEEE extended double (64 bits). */ /* IEEE extended double (64 bits). */
static const struct ieee_format ieee_64 = static const struct ieee_format ieee_64 =
{ {
...@@ -352,6 +354,7 @@ static const struct ieee_format ieee_64 = ...@@ -352,6 +354,7 @@ static const struct ieee_format ieee_64 =
0 0
}; };
#if (INTEL_EXTENDED_IEEE_FORMAT == 0)
/* IEEE long double (113 bits). */ /* IEEE long double (113 bits). */
static const struct ieee_format ieee_113 = static const struct ieee_format ieee_113 =
{ {
...@@ -361,7 +364,7 @@ static const struct ieee_format ieee_113 = ...@@ -361,7 +364,7 @@ static const struct ieee_format ieee_113 =
TFmode, TFmode,
0 0
}; };
#endif #endif /* INTEL_EXTENDED_IEEE_FORMAT == 0 */
#ifdef DEC #ifdef DEC
/* DEC F float (24 bits). */ /* DEC F float (24 bits). */
...@@ -394,6 +397,7 @@ static const struct ieee_format dec_g = ...@@ -394,6 +397,7 @@ static const struct ieee_format dec_g =
EXONE - 1025 EXONE - 1025
}; };
#if 0
/* DEC H float (113 bits). (not yet used) */ /* DEC H float (113 bits). (not yet used) */
static const struct ieee_format dec_h = static const struct ieee_format dec_h =
{ {
...@@ -404,6 +408,7 @@ static const struct ieee_format dec_h = ...@@ -404,6 +408,7 @@ static const struct ieee_format dec_h =
EXONE - 16385 EXONE - 16385
}; };
#endif #endif
#endif /* DEC */
extern int extra_warnings; extern int extra_warnings;
extern const UEMUSHORT ezero[NE], ehalf[NE], eone[NE], etwo[NE]; extern const UEMUSHORT ezero[NE], ehalf[NE], eone[NE], etwo[NE];
...@@ -2594,7 +2599,7 @@ static void ...@@ -2594,7 +2599,7 @@ static void
emdnorm (s, lost, subflg, exp, rcntrl) emdnorm (s, lost, subflg, exp, rcntrl)
UEMUSHORT s[]; UEMUSHORT s[];
int lost; int lost;
int subflg; int subflg ATTRIBUTE_UNUSED;
EMULONG exp; EMULONG exp;
int rcntrl; int rcntrl;
{ {
...@@ -2753,7 +2758,9 @@ emdnorm (s, lost, subflg, exp, rcntrl) ...@@ -2753,7 +2758,9 @@ emdnorm (s, lost, subflg, exp, rcntrl)
#endif #endif
eaddm (rbit, s); eaddm (rbit, s);
} }
#ifndef C4X
mddone: mddone:
#endif
/* Undo the temporary shift for denormal values. */ /* Undo the temporary shift for denormal values. */
if ((exp <= 0) && (rndprc != NBITS) if ((exp <= 0) && (rndprc != NBITS)
&& ((rndprc != 64) || ((rndprc == 64) && ! REAL_WORDS_BIG_ENDIAN))) && ((rndprc != 64) || ((rndprc == 64) && ! REAL_WORDS_BIG_ENDIAN)))
...@@ -5961,7 +5968,7 @@ toc4x (x, y, mode) ...@@ -5961,7 +5968,7 @@ toc4x (x, y, mode)
#ifdef TFMODE_NAN #ifdef TFMODE_NAN
TFMODE_NAN; TFMODE_NAN;
#else #else
#ifdef IEEE #if defined (IEEE) && (INTEL_EXTENDED_IEEE_FORMAT == 0)
static const UEMUSHORT TFbignan[8] = static const UEMUSHORT TFbignan[8] =
{0x7fff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff}; {0x7fff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff};
static const UEMUSHORT TFlittlenan[8] = {0, 0, 0, 0, 0, 0, 0x8000, 0xffff}; static const UEMUSHORT TFlittlenan[8] = {0, 0, 0, 0, 0, 0, 0x8000, 0xffff};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment