re PR target/45476 (libgcc should contain TCmode functions)

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.

From-SVN: r163819
This commit is contained in:
Uros Bizjak 2010-09-03 16:23:05 +02:00
parent ac364a48db
commit 0df8fcc8d1
8 changed files with 36 additions and 8 deletions

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
/* { dg-do run { target *-*-linux* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
/* { dg-require-effective-target sse2 } */

View File

@ -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 } */

View File

@ -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.

View File

@ -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)