From: Uros Bizjak Date: Thu, 2 Sep 2010 05:05:01 +0000 (+0200) Subject: re PR target/45476 (libgcc should contain TCmode functions) X-Git-Tag: releases/gcc-4.6.0~4720 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282ac51f24b21591be9bfbc8570fc63d33f0a5f6;p=thirdparty%2Fgcc.git re PR target/45476 (libgcc should contain TCmode functions) PR target/45476 * config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE): New defines. From-SVN: r163756 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 077c6fb42dd8..0d239d04891b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-09-02 Uros Bizjak + + PR target/45476 + * config/i386/freebsd.h (LIBGCC2_HAS_TF_MODE, + LIBGCC2_TF_CEXT, TF_SIZE): New defines. + 2010-09-01 Jakub Jelinek PR middle-end/45458 @@ -46,11 +52,9 @@ (allCores): List of supported cores. (availability_table): Add supported cores. (collate_bypasses): Accept core as a parameter. - (worst_case_latencies_and_bypasses): Accept core as a - parameter. - (emit_insn_reservations): Accept core as a parameter. - Use tuneStr and coreStr to get tune attribute and prefix - for functional units. + (worst_case_latencies_and_bypasses): Accept core as a parameter. + (emit_insn_reservations): Accept core as a parameter. Use tuneStr + and coreStr to get tune attribute and prefix for functional units. (emit_bypasses): Accept core name and use it. (calculate_per_core_availability_table): New. (filter_core): New. diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index c616a205d2c3..94b657ec2954 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -139,5 +139,11 @@ along with GCC; see the file COPYING3. If not see #undef TARGET_96_ROUND_53_LONG_DOUBLE #define TARGET_96_ROUND_53_LONG_DOUBLE (!TARGET_64BIT) +/* 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 + /* Static stack checking is supported by means of probes. */ #define STACK_CHECK_STATIC_BUILTIN 1