summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-03 14:23:05 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-03 14:23:05 +0000
commit1d8139cc5d1ca8cefa0e925dfaea0b8038e98a5f (patch)
tree359a9f77f38264baf4c5337935fd38609f8c0cc8
parent115697e0f5f00d5587441565472b2401ab723e49 (diff)
downloadgcc-1d8139cc5d1ca8cefa0e925dfaea0b8038e98a5f.tar.gz
libgcc/ChangeLog:
PR target/45476 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out LIB2FUNCS_EXCLUDE functions. gcc/ChangeLog: PR target/45476 * config/i386/t-darwin (LIB2FUNCS_EXCLUDE): New. * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE): New defines. gcc/testsuite/ChangeLog: PR target/45476 * gcc.target/i386/float128-1.c: Enable for all x86 targets. * gcc.target/i386/float128-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163819 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog14
-rw-r--r--gcc/config/i386/darwin.h6
-rw-r--r--gcc/config/i386/t-darwin1
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/i386/float128-1.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/float128-2.c2
-rw-r--r--libgcc/ChangeLog7
-rw-r--r--libgcc/Makefile.in6
8 files changed, 36 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f39998a8740..2a2d82d9a8f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-03 Uros Bizjak <ubizjak@gmail.com>
+ Iain Sandoe <iains@gcc.gnu.org>
+
+ PR target/45476
+ * config/i386/t-darwin (LIB2FUNCS_EXCLUDE): New.
+ * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE,
+ LIBGCC2_TF_CEXT, TF_SIZE): New defines.
+
2010-09-03 Richard Guenther <rguenther@suse.de>
* lto-streamer-out.c (output_function): Output function
@@ -29,13 +37,13 @@
initializer folding.
* ipa.c (ipa_discover_readonly_nonaddressable_var,
function_and_variable_visibility): Compute const_value_known.
- * gimple-fold.c (get_symbol_constant_value): Use varpool for initializer
- folding.
+ * gimple-fold.c (get_symbol_constant_value): Use varpool for
+ initializer folding.
* varpool.c (varpool_decide_const_value_known): New function.
2010-09-03 Uros Bizjak <ubizjak@gmail.com>
- * config/i386/i386.md: Remove empty prepartion statements
+ * config/i386/i386.md: Remove empty preparation statements
from splitters.
2010-09-03 Jan Hubicka <jh@suse.cz>
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index 7917f2fc18f..cd3158c0b6a 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -148,6 +148,12 @@ extern int darwin_emit_branch_islands;
#define SHIFT_DOUBLE_OMITS_COUNT 0
+/* Put all *tf routines in libgcc. */
+#undef LIBGCC2_HAS_TF_MODE
+#define LIBGCC2_HAS_TF_MODE 1
+#define LIBGCC2_TF_CEXT q
+#define TF_SIZE 113
+
#undef TARGET_ASM_FILE_END
#define TARGET_ASM_FILE_END darwin_file_end
diff --git a/gcc/config/i386/t-darwin b/gcc/config/i386/t-darwin
index fb5bbe78c04..22323e4abee 100644
--- a/gcc/config/i386/t-darwin
+++ b/gcc/config/i386/t-darwin
@@ -2,3 +2,4 @@ MULTILIB_OPTIONS = m64
MULTILIB_DIRNAMES = x86_64
LIB2_SIDITI_CONV_FUNCS=yes
LIB2FUNCS_EXTRA = $(srcdir)/config/darwin-64.c
+LIB2FUNCS_EXCLUDE = _fixtfdi _fixunstfdi _floatditf _floatunditf
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d27f8695f4c..8df8979b42b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-03 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/45476
+ * gcc.target/i386/float128-1.c: Enable for all x86 targets.
+ * gcc.target/i386/float128-2.c: Ditto.
+
2010-09-03 Daniel Kraft <d@domob.eu>
PR fortran/34162
diff --git a/gcc/testsuite/gcc.target/i386/float128-1.c b/gcc/testsuite/gcc.target/i386/float128-1.c
index a435f63c1fa..76f5dba5032 100644
--- a/gcc/testsuite/gcc.target/i386/float128-1.c
+++ b/gcc/testsuite/gcc.target/i386/float128-1.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target *-*-linux* } } */
+/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
/* { dg-require-effective-target sse2 } */
diff --git a/gcc/testsuite/gcc.target/i386/float128-2.c b/gcc/testsuite/gcc.target/i386/float128-2.c
index 6f9dd97fdf0..ae899ab23fa 100644
--- a/gcc/testsuite/gcc.target/i386/float128-2.c
+++ b/gcc/testsuite/gcc.target/i386/float128-2.c
@@ -1,6 +1,6 @@
/* PR target/36710 */
-/* { dg-do run { target *-*-linux* *-*-darwin* } } */
+/* { dg-do run } */
/* { dg-options "-Os -msse2" } */
/* { dg-require-effective-target sse2 } */
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index bb5bc0fd5b3..245f2a0297f 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-03 Uros Bizjak <ubizjak@gmail.com>
+ Iain Sandoe <iains@gcc.gnu.org>
+
+ PR target/45476
+ * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
+ LIB2FUNCS_EXCLUDE functions.
+
2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index 044be7a49a1..cbca5532f2e 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -385,9 +385,9 @@ ifneq ($(LIB2_SIDITI_CONV_FUNCS),)
# functions are built with a wordsize of 4; the TImode functions are
# built with the same labels, but a wordsize of 8.
-sifuncs = $(subst XX,si,$(swfloatfuncs))
-difuncs = $(subst XX,di,$(dwfloatfuncs))
-tifuncs = $(subst XX,ti,$(dwfloatfuncs))
+sifuncs := $(filter-out $(LIB2FUNCS_EXCLUDE),$(subst XX,si,$(swfloatfuncs)))
+difuncs := $(filter-out $(LIB2FUNCS_EXCLUDE),$(subst XX,di,$(dwfloatfuncs)))
+tifuncs := $(filter-out $(LIB2FUNCS_EXCLUDE),$(subst XX,ti,$(dwfloatfuncs)))
iter-items := $(sifuncs) $(difuncs) $(tifuncs)
iter-labels := $(sifuncs) $(difuncs) $(difuncs)