Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gcc/config/m68k * Clean up XFmode avoidance.



details:   https://anonhg.NetBSD.org/src/rev/17c3231547c2
branches:  trunk
changeset: 521355:17c3231547c2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jan 29 01:02:06 2002 +0000

description:
* Clean up XFmode avoidance.
* If avoiding XFmode, force REAL_ARITHMETIC anyway (which will use
  the software FP emulation).

diffstat:

 gnu/dist/toolchain/gcc/config/m68k/netbsd-elf.h |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (24 lines):

diff -r 3f536eb717b2 -r 17c3231547c2 gnu/dist/toolchain/gcc/config/m68k/netbsd-elf.h
--- a/gnu/dist/toolchain/gcc/config/m68k/netbsd-elf.h   Tue Jan 29 00:31:55 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/m68k/netbsd-elf.h   Tue Jan 29 01:02:06 2002 +0000
@@ -38,16 +38,13 @@
 
 
 /* Don't try using XFmode on the 68010.  */
-#if 0 /* XXX Can't do this yet.  */
-#undef LONG_DOUBLE_TYPE_SIZE
-#define LONG_DOUBLE_TYPE_SIZE \
-  ((TARGET_68020 || TARGET_68040 || TARGET_68040_ONLY || \
-    TARGET_68060) ? 96 : 64)
-#else
 #if TARGET_DEFAULT == 0
 #undef LONG_DOUBLE_TYPE_SIZE
 #define LONG_DOUBLE_TYPE_SIZE 64
-#endif
+
+/* Use software floating point emulator for REAL_ARITHMETIC and
+   decimal <-> binary conversion.  */
+#define REAL_ARITHMETIC
 #endif
 
 #ifdef __mc68010__



Home | Main Index | Thread Index | Old Index