This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix i386-freebsd tfmode thinko
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Aug 2004 17:15:43 -0700
- Subject: fix i386-freebsd tfmode thinko
Noticed this when working on something else.
It was never correct to reset TFmode here. Nowaways TFmode
always means IEEE QUAD precision. But even before, we would
have needed to use a 128-bit version of the extended
precision output routines, not a 96-bit version.
r~
* config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Don't
set REAL_MODE_FORMAT for TFmode.
Index: gcc/config/i386/freebsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/freebsd.h,v
retrieving revision 1.43
diff -c -p -d -r1.43 freebsd.h
*** gcc/config/i386/freebsd.h 15 Mar 2004 18:20:48 -0000 1.43
--- gcc/config/i386/freebsd.h 26 Aug 2004 00:10:56 -0000
*************** Boston, MA 02111-1307, USA. */
*** 143,149 ****
if (!TARGET_64BIT) { \
REAL_MODE_FORMAT (XFmode) \
= &ieee_extended_intel_96_round_53_format; \
- REAL_MODE_FORMAT (TFmode) \
- = &ieee_extended_intel_96_round_53_format; \
} \
} while (0)
--- 143,147 ----