aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>2000-03-16 17:20:57 +0000
committerBernd Schmidt <crux@gcc.gnu.org>2000-03-16 17:20:57 +0000
commit26725434584b0eac794cc9635ab90217c14aad47 (patch)
treeb949b455ca2a13d1cc28979390fbba5f853368f7 /gcc/config
parent22eb7dfafe19196ec284b6b73362bddbf80467e8 (diff)
downloadgcc-26725434584b0eac794cc9635ab90217c14aad47.zip
gcc-26725434584b0eac794cc9635ab90217c14aad47.tar.gz
gcc-26725434584b0eac794cc9635ab90217c14aad47.tar.bz2
Introduce NO_DENORMALS in fp-bit.c
From-SVN: r32590
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/fp-bit.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/config/fp-bit.c b/gcc/config/fp-bit.c
index ee3c91c..d4334521 100644
--- a/gcc/config/fp-bit.c
+++ b/gcc/config/fp-bit.c
@@ -113,7 +113,8 @@ Boston, MA 02111-1307, USA. */
US Software goFast library. If this is not defined, the entry points use
the same names as libgcc1.c.
_DEBUG_BITFLOAT: This makes debugging the code a little easier, by adding
- two integers to the FLO_union_type.
+ two integers to the FLO_union_type.
+ NO_DENORMALS: Disable handling of denormals.
NO_NANS: Disable nan and infinity handling
SMALL_MACHINE: Useful when operations on QIs and HIs are faster
than on an SI */
@@ -615,7 +616,11 @@ unpack_d (FLO_union_type * src, fp_number_type * dst)
if (exp == 0)
{
/* Hmm. Looks like 0 */
- if (fraction == 0)
+ if (fraction == 0
+#ifdef NO_DENORMALS
+ || 1
+#endif
+ )
{
/* tastes like zero */
dst->class = CLASS_ZERO;