From 8691cea39683c5cf2494679ec0a6496055d70733 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 2 Mar 2007 13:26:55 +0100 Subject: [PATCH] re PR target/31019 (Microoptimization of the i386 and x86_64 compilers) PR target/31019 * config/i386/i386.h (TUNEMASK): Redefine to use ix86_tune_mask. (ARCHMASK): Define. (TARGET_CMOVE): Use ARCHMASK. (TARGET_CMPXCHG): Ditto. (TARGET_CMPXCHG8B): Ditto. (TARGET_XADD): Ditto. (TARGET_BSWAP): Ditto. * config/i386/i386.c (ix86_tune_mask): New global variable. (ix86_arch_mask): Ditto. (override_options): Initialize ix86_tune_mask and ix86_arch_mask. Use ARCHMASK to clear MASK_NO_FANCY_MATH_387 in target_flags. Co-Authored-By: Michael Meissner From-SVN: r122473 --- gcc/ChangeLog | 17 +++++++++++++++++ gcc/config/i386/i386.c | 23 +++++++++++++++-------- gcc/config/i386/i386.h | 17 +++++++++++------ 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 663fabb17c6..7b6870bb4b5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2007-03-02 Uros Bizjak + Michael Meissner + + PR target/31019 + * config/i386/i386.h (TUNEMASK): Redefine to use ix86_tune_mask. + (ARCHMASK): Define. + (TARGET_CMOVE): Use ARCHMASK. + (TARGET_CMPXCHG): Ditto. + (TARGET_CMPXCHG8B): Ditto. + (TARGET_XADD): Ditto. + (TARGET_BSWAP): Ditto. + * config/i386/i386.c (ix86_tune_mask): New global variable. + (ix86_arch_mask): Ditto. + (override_options): Initialize ix86_tune_mask and + ix86_arch_mask. Use ARCHMASK to clear MASK_NO_FANCY_MATH_387 in + target_flags. + 2007-03-02 Ben Elliston PR 30992 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 935f3df7151..7794017eb26 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -984,23 +984,25 @@ const struct processor_costs *ix86_cost = &pentium_cost; #define m_486 (1<