aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2008-06-19 01:13:53 +0000
committerBen Elliston <bje@gcc.gnu.org>2008-06-19 11:13:53 +1000
commit7292b8e4bac5eaf830e81b38be439719ecee8cf3 (patch)
tree940ffd349ee44abb1c1899dc60f336e184cf035f
parent31dd593cddc4a78e9f2450b890e4a505be98e59c (diff)
downloadgcc-7292b8e4bac5eaf830e81b38be439719ecee8cf3.zip
gcc-7292b8e4bac5eaf830e81b38be439719ecee8cf3.tar.gz
gcc-7292b8e4bac5eaf830e81b38be439719ecee8cf3.tar.bz2
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/dfp-bit.c2
-rw-r--r--gcc/config/dfp-bit.h4
-rw-r--r--gcc/dfp.c12
-rw-r--r--gcc/dfp.h4
-rw-r--r--gcc/doc/install.texi15
-rw-r--r--gcc/doc/libgcc.texi4
-rw-r--r--gcc/real.c6
-rw-r--r--gcc/real.h2
9 files changed, 31 insertions, 25 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a4a237a..9d5e933 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/dfp-bit.c b/gcc/config/dfp-bit.c
index ac57443..bfce851 100644
--- a/gcc/config/dfp-bit.c
+++ b/gcc/config/dfp-bit.c
@@ -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.
diff --git a/gcc/config/dfp-bit.h b/gcc/config/dfp-bit.h
index c02535b..4e46e34 100644
--- a/gcc/config/dfp-bit.h
+++ b/gcc/config/dfp-bit.h
@@ -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
diff --git a/gcc/dfp.c b/gcc/dfp.c
index 4326238..0485430 100644
--- a/gcc/dfp.c
+++ b/gcc/dfp.c
@@ -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,
diff --git a/gcc/dfp.h b/gcc/dfp.h
index 1e7bcf7..4e3bb5e 100644
--- a/gcc/dfp.h
+++ b/gcc/dfp.h
@@ -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 *);
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 8292fbf..3ce62cb 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -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
diff --git a/gcc/doc/libgcc.texi b/gcc/doc/libgcc.texi
index 4026399..8ead53d 100644
--- a/gcc/doc/libgcc.texi
+++ b/gcc/doc/libgcc.texi
@@ -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.
diff --git a/gcc/real.c b/gcc/real.c
index 5da2cb3..b071756 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -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,
diff --git a/gcc/real.h b/gcc/real.h
index 9809004..6332299 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -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) \