This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add DFP TFmode conversions
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Eric Christopher <echristo at apple dot com>
- Date: Wed, 13 Jun 2007 18:40:48 +0200
- Subject: Re: PATCH: Add DFP TFmode conversions
- References: <20070613160909.GA7643@lucon.org>
H. J. Lu wrote:
--- gcc/config/i386/i386.h.float128 2007-06-12 05:45:21.000000000 -0700
+++ gcc/config/i386/i386.h 2007-06-13 07:33:09.000000000 -0700
@@ -2452,6 +2452,10 @@ struct machine_function GTY(())
#define SYMBOL_REF_DLLEXPORT_P(X) \
((SYMBOL_REF_FLAGS (X) & SYMBOL_FLAG_DLLEXPORT) != 0)
+/* Put all *tf routines in libgcc for 64bit. */
+#undef LIBGCC2_HAS_TF_MODE
+#define LIBGCC2_HAS_TF_MODE TARGET_64BIT
+
This part should go into linux64.h, as not all i386 targets support
TFmode (echristo will add these lines to darwin target).
BTW: Please note that currently you will get wrong results for TFmode
compares. It is known failure, and will be fixed soon [that is, when the
answer from glibc people will be received].
Uros.