dfp.h, [...]: Remove references to IEEE 754R.

* dfp.h, dfp.c, config/dfp-bit.h, config/dfp-bit.c, real.h,
	real.c: Remove references to IEEE 754R.
	* doc/install.texi (Configuration): IEEE 754R -> IEEE 754-2008.
	* doc/libgcc.texi (Decimal float library routines): Likewise.

From-SVN: r136933
This commit is contained in:
Ben Elliston 2008-06-19 01:13:53 +00:00 committed by Ben Elliston
parent 31dd593cdd
commit 7292b8e4ba
9 changed files with 31 additions and 25 deletions

View File

@ -1,3 +1,10 @@
2008-06-19 Ben Elliston <bje@au.ibm.com>
* dfp.h, dfp.c, config/dfp-bit.h, config/dfp-bit.c, real.h,
real.c: Remove references to IEEE 754R.
* doc/install.texi (Configuration): IEEE 754R -> IEEE 754-2008.
* doc/libgcc.texi (Decimal float library routines): Likewise.
2008-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* targhooks.h (struct gcc_target): New member unwind_word_mode.

View File

@ -27,7 +27,7 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */
/* This implements IEEE 754R decimal floating point arithmetic, but
/* This implements IEEE 754 decimal floating point arithmetic, but
does not provide a mechanism for setting the rounding mode, or for
generating or handling exceptions. Conversions between decimal
floating point types and other types depend on C library functions.

View File

@ -65,7 +65,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
DFP_C_TYPE: type of the arguments to the libgcc functions;
(eg _Decimal32)
IEEE_TYPE: the corresponding (encoded) IEEE754R type;
IEEE_TYPE: the corresponding (encoded) IEEE754 type;
(eg decimal32)
TO_INTERNAL: the name of the decNumber function to convert an
@ -163,7 +163,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
DFP_C_TYPE_TO: type of the result of dfp to dfp conversion.
IEEE_TYPE_TO: the corresponding (encoded) IEEE754R type.
IEEE_TYPE_TO: the corresponding (encoded) IEEE754 type.
TO_ENCODED_TO: the name of the decNumber function to convert an
internally represented decNumber into the encoded representation

View File

@ -123,7 +123,7 @@ decimal_to_decnumber (const REAL_VALUE_TYPE *r, decNumber *dn)
dn->bits ^= DECNEG;
}
/* Encode a real into an IEEE 754R decimal32 type. */
/* Encode a real into an IEEE 754 decimal32 type. */
void
encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
@ -142,7 +142,7 @@ encode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
buf[0] = *(uint32_t *) d32.bytes;
}
/* Decode an IEEE 754R decimal32 type into a real. */
/* Decode an IEEE 754 decimal32 type into a real. */
void
decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
@ -161,7 +161,7 @@ decode_decimal32 (const struct real_format *fmt ATTRIBUTE_UNUSED,
decimal_from_decnumber (r, &dn, &set);
}
/* Encode a real into an IEEE 754R decimal64 type. */
/* Encode a real into an IEEE 754 decimal64 type. */
void
encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
@ -189,7 +189,7 @@ encode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
}
}
/* Decode an IEEE 754R decimal64 type into a real. */
/* Decode an IEEE 754 decimal64 type into a real. */
void
decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
@ -217,7 +217,7 @@ decode_decimal64 (const struct real_format *fmt ATTRIBUTE_UNUSED,
decimal_from_decnumber (r, &dn, &set);
}
/* Encode a real into an IEEE 754R decimal128 type. */
/* Encode a real into an IEEE 754 decimal128 type. */
void
encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED,
@ -249,7 +249,7 @@ encode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED,
}
}
/* Decode an IEEE 754R decimal128 type into a real. */
/* Decode an IEEE 754 decimal128 type into a real. */
void
decode_decimal128 (const struct real_format *fmt ATTRIBUTE_UNUSED,

View File

@ -20,12 +20,12 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_DFP_H
#define GCC_DFP_H
/* Encode REAL_VALUE_TYPEs into 32/64/128-bit IEEE 754R encoded values. */
/* Encode REAL_VALUE_TYPEs into 32/64/128-bit IEEE 754 encoded values. */
void encode_decimal32 (const struct real_format *fmt, long *, const REAL_VALUE_TYPE *);
void encode_decimal64 (const struct real_format *fmt, long *, const REAL_VALUE_TYPE *);
void decode_decimal128 (const struct real_format *, REAL_VALUE_TYPE *, const long *);
/* Decode 32/64/128-bit IEEE 754R encoded values into REAL_VALUE_TYPEs. */
/* Decode 32/64/128-bit IEEE 754 encoded values into REAL_VALUE_TYPEs. */
void decode_decimal32 (const struct real_format *, REAL_VALUE_TYPE *, const long *);
void decode_decimal64 (const struct real_format *, REAL_VALUE_TYPE *, const long *);
void encode_decimal128 (const struct real_format *fmt, long *, const REAL_VALUE_TYPE *);

View File

@ -1355,14 +1355,13 @@ forward to maintain the port.
@itemx --enable-decimal-float=dpd
@itemx --disable-decimal-float
Enable (or disable) support for the C decimal floating point extension
that is in the IEEE 754R extension to the IEEE754 floating point
standard. This is enabled by default only on PowerPC, i386, and
x86_64 GNU/Linux systems. Other systems may also support it, but
require the user to specifically enable it. You can optionally
control which decimal floating point format is used (either @samp{bid}
or @samp{dpd}). The @samp{bid} (binary integer decimal) format is
default on i386 and x86_64 systems, and the @samp{dpd} (densely packed
decimal) format is default on PowerPC systems.
that is in the IEEE 754-2008 standard. This is enabled by default only
on PowerPC, i386, and x86_64 GNU/Linux systems. Other systems may also
support it, but require the user to specifically enable it. You can
optionally control which decimal floating point format is used (either
@samp{bid} or @samp{dpd}). The @samp{bid} (binary integer decimal)
format is default on i386 and x86_64 systems, and the @samp{dpd}
(densely packed decimal) format is default on PowerPC systems.
@item --enable-fixed-point
@itemx --disable-fixed-point

View File

@ -495,9 +495,9 @@ These functions return the quotient of @math{@var{a} + i@var{b}} and
@node Decimal float library routines
@section Routines for decimal floating point emulation
@cindex decimal float library
@cindex IEEE-754R
@cindex IEEE 754-2008
The software decimal floating point library implements IEEE 754R
The software decimal floating point library implements IEEE 754-2008
decimal floating point arithmetic and is only activated on selected
targets.

View File

@ -4279,7 +4279,7 @@ decode_decimal_quad (const struct real_format *fmt ATTRIBUTE_UNUSED,
decode_decimal128 (fmt, r, buf);
}
/* Single precision decimal floating point (IEEE 754R). */
/* Single precision decimal floating point (IEEE 754). */
const struct real_format decimal_single_format =
{
encode_decimal_single,
@ -4299,7 +4299,7 @@ const struct real_format decimal_single_format =
false
};
/* Double precision decimal floating point (IEEE 754R). */
/* Double precision decimal floating point (IEEE 754). */
const struct real_format decimal_double_format =
{
encode_decimal_double,
@ -4319,7 +4319,7 @@ const struct real_format decimal_double_format =
false
};
/* Quad precision decimal floating point (IEEE 754R). */
/* Quad precision decimal floating point (IEEE 754). */
const struct real_format decimal_quad_format =
{
encode_decimal_quad,

View File

@ -319,7 +319,7 @@ extern const struct real_format decimal_quad_format;
#define REAL_VALUE_FROM_UNSIGNED_INT(r, lo, hi, mode) \
real_from_integer (&(r), mode, lo, hi, 1)
/* Real values to IEEE 754R decimal floats. */
/* Real values to IEEE 754 decimal floats. */
/* IN is a REAL_VALUE_TYPE. OUT is an array of longs. */
#define REAL_VALUE_TO_TARGET_DECIMAL128(IN, OUT) \