This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add DFP TFmode conversions


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]