Commit 18171048 by Stephen L Moshier Committed by Richard Henderson

Stephen L Moshier <moshier@mediaone.net>

        * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
        * real.c (toe64): Revert previous change.

From-SVN: r33097
parent 298d6f60
2000-04-12 Stephen L Moshier <moshier@mediaone.net>
* real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
* real.c (toe64): Revert previous change.
2000-04-12 Jakub Jelinek <jakub@redhat.com> 2000-04-12 Jakub Jelinek <jakub@redhat.com>
* objc/objc-act.c: Include ggc.h. * objc/objc-act.c: Include ggc.h.
......
...@@ -3646,9 +3646,13 @@ toe64 (a, b) ...@@ -3646,9 +3646,13 @@ toe64 (a, b)
else else
{ {
q = b + 4; /* point to output exponent */ q = b + 4; /* point to output exponent */
#if MAX_LONG_DOUBLE_TYPE_SIZE == 96 /* The purpose of this conditional is to avoid scribbling beyond
/* Clear the last two bytes of 12-byte Intel format */ the end of a long double, in case the type is only 80 bits wide. */
*(q+1) = 0; if (LONG_DOUBLE_TYPE_SIZE == 96)
{
/* Clear the last two bytes of 12-byte Intel format */
*(q+1) = 0;
}
#endif #endif
} }
#endif #endif
......
...@@ -68,6 +68,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -68,6 +68,11 @@ Boston, MA 02111-1307, USA. */
#ifndef LONG_DOUBLE_TYPE_SIZE #ifndef LONG_DOUBLE_TYPE_SIZE
#define LONG_DOUBLE_TYPE_SIZE 64 #define LONG_DOUBLE_TYPE_SIZE 64
#endif #endif
/* MAX_LONG_DOUBLE_TYPE_SIZE is a constant tested by #if.
LONG_DOUBLE_TYPE_SIZE can vary at compiler run time.
So long as macros like REAL_VALUE_TO_TARGET_LONG_DOUBLE cannot
vary too, however, then XFmode and TFmode long double
cannot both be supported at the same time. */
#ifndef MAX_LONG_DOUBLE_TYPE_SIZE #ifndef MAX_LONG_DOUBLE_TYPE_SIZE
#define MAX_LONG_DOUBLE_TYPE_SIZE LONG_DOUBLE_TYPE_SIZE #define MAX_LONG_DOUBLE_TYPE_SIZE LONG_DOUBLE_TYPE_SIZE
#endif #endif
......
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