aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-01-20 00:42:29 +0000
committerAlan Modra <amodra@gcc.gnu.org>2006-01-20 11:12:29 +1030
commitb04c90638b1b3042078fda9582f3b3008ce51bc1 (patch)
treef6f5efb500cbb0ac5e1911492d4637b9e6fd58d5 /gcc/libgcc2.h
parente9a8eb89de4a63575154ba3fe25a2597b5552f9c (diff)
downloadgcc-b04c90638b1b3042078fda9582f3b3008ce51bc1.zip
gcc-b04c90638b1b3042078fda9582f3b3008ce51bc1.tar.gz
gcc-b04c90638b1b3042078fda9582f3b3008ce51bc1.tar.bz2
libgcc2.c (__floatdisf, [...]): Don't use IBM Extended Double TFmode.
* libgcc2.c (__floatdisf, __floatdidf): Don't use IBM Extended Double TFmode. (__floatundisf, __floatundidf): Likewise. * libgcc2.h (IS_IBM_EXTENDED): Define. From-SVN: r110004
Diffstat (limited to 'gcc/libgcc2.h')
-rw-r--r--gcc/libgcc2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index f8056d6..f24854f 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -117,6 +117,14 @@ extern short int __get_eh_table_version (struct exception_descriptor *);
#endif
#endif
+/* FIXME: This #ifdef probably should be removed, ie. enable the test
+ for mips too. */
+#ifdef __powerpc__
+#define IS_IBM_EXTENDED(SIZE) (SIZE == 106)
+#else
+#define IS_IBM_EXTENDED(SIZE) 0
+#endif
+
#ifndef MIN_UNITS_PER_WORD
#define MIN_UNITS_PER_WORD UNITS_PER_WORD
#endif