From bbe4fb2cec6aa90490c3524d783165bd369b18b0 Mon Sep 17 00:00:00 2001 From: Igor Zamyatin Date: Wed, 20 Feb 2013 08:55:16 +0000 Subject: [PATCH] i386.c (initial_ix86_tune_features): Turn on fp reassociation for avx2 targets. * config/i386/i386.c (initial_ix86_tune_features): Turn on fp reassociation for avx2 targets. From-SVN: r196164 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6d5312..005d9a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-02-20 Igor Zamyatin + + * config/i386/i386.c (initial_ix86_tune_features): Turn on fp + reassociation for avx2 targets. + 2012-02-19 Edgar E. Iglesias * config/microblaze/microblaze.c: microblaze_has_clz = 0 Add version check for v8.10.a to enable microblaze_has_clz diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 9a94c36..f9f266a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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. */ -- 2.7.4