public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, x86, AVX2] FP reassociation enabling for AVX2 targets
@ 2013-02-18 18:44 Igor Zamyatin
  2013-02-18 19:34 ` Uros Bizjak
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Zamyatin @ 2013-02-18 18:44 UTC (permalink / raw)
  To: gcc-patches; +Cc: Uros Bizjak

Hi!

This small change enables FP reassociation for AVX2 processors. This
gives ~+1.5% in performance geomean for spec2006FP tests.

Bootstrapped/regtested on x86_64-linux, ok for trunk?


2013-02-14  Igor Zamyatin  <igor.zamyatin@intel.com>

        * config/i386/i386.c (initial_ix86_tune_features): Turn on fp
        reassociation for avx2 targets.



diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index caf4894..cb84866 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.  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH, x86, AVX2] FP reassociation enabling for AVX2 targets
  2013-02-18 18:44 [PATCH, x86, AVX2] FP reassociation enabling for AVX2 targets Igor Zamyatin
@ 2013-02-18 19:34 ` Uros Bizjak
  2013-02-20  8:56   ` Kirill Yukhin
  0 siblings, 1 reply; 3+ messages in thread
From: Uros Bizjak @ 2013-02-18 19:34 UTC (permalink / raw)
  To: Igor Zamyatin; +Cc: gcc-patches

On Mon, Feb 18, 2013 at 7:44 PM, Igor Zamyatin <izamyatin@gmail.com> wrote:

> This small change enables FP reassociation for AVX2 processors. This
> gives ~+1.5% in performance geomean for spec2006FP tests.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
>
> 2013-02-14  Igor Zamyatin  <igor.zamyatin@intel.com>
>
>         * config/i386/i386.c (initial_ix86_tune_features): Turn on fp
>         reassociation for avx2 targets.

OK (it is a tuning patch).

Thanks,
Uros.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH, x86, AVX2] FP reassociation enabling for AVX2 targets
  2013-02-18 19:34 ` Uros Bizjak
@ 2013-02-20  8:56   ` Kirill Yukhin
  0 siblings, 0 replies; 3+ messages in thread
From: Kirill Yukhin @ 2013-02-20  8:56 UTC (permalink / raw)
  To: Uros Bizjak; +Cc: Igor Zamyatin, gcc-patches List

> OK (it is a tuning patch).
>
Hi,
Checked in: http://gcc.gnu.org/ml/gcc-cvs/2013-02/msg00540.html

Thanks, K

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-20  8:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18 18:44 [PATCH, x86, AVX2] FP reassociation enabling for AVX2 targets Igor Zamyatin
2013-02-18 19:34 ` Uros Bizjak
2013-02-20  8:56   ` Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).