i386.c (initial_ix86_tune_features): Turn on fp reassociation for avx2 targets.
authorIgor Zamyatin <igor.zamyatin@intel.com>
Wed, 20 Feb 2013 08:55:16 +0000 (08:55 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Wed, 20 Feb 2013 08:55:16 +0000 (08:55 +0000)
* config/i386/i386.c (initial_ix86_tune_features): Turn on fp
  reassociation for avx2 targets.

From-SVN: r196164

gcc/ChangeLog
gcc/config/i386/i386.c

index f6d5312..005d9a1 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-20  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       * config/i386/i386.c (initial_ix86_tune_features): Turn on fp
+       reassociation for avx2 targets.
+
 2012-02-19  Edgar E. Iglesias <edgar.iglesias@gmail.com>
        * config/microblaze/microblaze.c: microblaze_has_clz = 0
        Add version check for v8.10.a to enable microblaze_has_clz
index 9a94c36..f9f266a 100644 (file)
@@ -2021,7 +2021,7 @@ static unsigned int initial_ix86_tune_features[X86_TUNE_LAST] = {
 
   /* X86_TUNE_REASSOC_FP_TO_PARALLEL: Try to produce parallel computations
      during reassociation of fp computation.  */
-  m_ATOM,
+  m_ATOM | m_HASWELL,
 
   /* X86_TUNE_GENERAL_REGS_SSE_SPILL: Try to spill general regs to SSE
      regs instead of memory.  */