public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: "Fang, Changpeng" <Changpeng.Fang@amd.com>
Cc: Richard Guenther <richard.guenther@gmail.com>,
		"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH, PR 49089] Don't split AVX256 unaligned loads by default on bdver1 and generic
Date: Tue, 14 Jun 2011 23:15:00 -0000	[thread overview]
Message-ID: <BANLkTi=jywmPF9+Qyn8r6s5r51L1D-=csA@mail.gmail.com> (raw)
In-Reply-To: <D4C76825A6780047854A11E93CDE84D005980DC6EC@SAUSEXMBP01.amd.com>

On Tue, Jun 14, 2011 at 3:41 PM, Fang, Changpeng <Changpeng.Fang@amd.com> wrote:
>>It probably should go to the 4.6 branch as well.
>
> H.J. Lu's original patch that splits unaligned load and store was checked in gcc 4.7
> trunk. We found that,  splitting unaligned store is beneficial to bdver1, splitting unaligned
> load degrades cfp2006 by 1.3% in geomean on Bulldozer. As a result, we suggest putting
> unaligned store splitting (H.J. original patch + this one) back to 4.6 branch.
>
>  >Note that I find the
>>X86_TUNE_AVX256_SPLIT_UNALIGNED_LOAD_OPTIMAL odd,
>>why not call it simply X86_TUNE_AVX256_SPLIT_UNALIGNED_LOAD?
>
> AVX256_SPLIT_UNALIGNED_LOAD has already  been used for the flag:
> -mavx256-split-unaligned-load, and we intend to keep that flag for performance tuning.
> As a result, we put _OPTIMAL (or _BENEFICAL) at the end for default setting.
>
>
>>I'll defer to x86 maintainers for approval.
>
> So, is it OK to commit this patch to trunk, and H.J's original patch + this to 4.6 branch?
>
>

I have no problems on -mtune=Bulldozer.  But I object -mtune=generic
change and did suggest a different approach for -mtune=generic.

-- 
H.J.

  reply	other threads:[~2011-06-14 22:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14  1:32 Fang, Changpeng
2011-06-14 10:17 ` Richard Guenther
2011-06-14 10:20   ` Jakub Jelinek
2011-06-14 13:24     ` H.J. Lu
2011-06-14 23:22       ` Fang, Changpeng
2011-06-15  0:21         ` H.J. Lu
2011-06-14 22:47   ` Fang, Changpeng
2011-06-14 23:15     ` H.J. Lu [this message]
2011-06-15  0:35       ` Fang, Changpeng
2011-06-15  2:54         ` H.J. Lu
2011-06-15 22:07       ` Fang, Changpeng
2011-06-16  7:51         ` Richard Guenther
2011-06-17  0:53       ` Fang, Changpeng
2011-06-17  1:10         ` H.J. Lu
2011-06-17 18:08           ` Fang, Changpeng
2011-06-17 18:33             ` H.J. Lu
2011-06-17 22:49               ` Fang, Changpeng
2011-06-17 23:12                 ` H.J. Lu
2011-06-20 18:44                   ` Fang, Changpeng
2011-06-20 18:51                     ` Uros Bizjak
2011-06-20 22:17                       ` Fang, Changpeng
2011-06-29 16:19                         ` Eric Botcazou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTi=jywmPF9+Qyn8r6s5r51L1D-=csA@mail.gmail.com' \
    --to=hjl.tools@gmail.com \
    --cc=Changpeng.Fang@amd.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=richard.guenther@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).