public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/38306] [4.4/4.5/4.6/4.7 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures
Date: Sat, 10 Sep 2011 09:52:00 -0000	[thread overview]
Message-ID: <bug-38306-4-kLSVBDn2km@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-38306-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #25 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-09-10 09:43:58 UTC ---
(In reply to comment #24)
> 
> The issue is that at -O3 the subroutine PD2VAL is not vectorized, while it is
> at -O2.

If you are interested in investigating why this is so by yourself, I would
suggest that you use the various -fdump- options to check what GCC is doing
differently between the two variants. 

1) Dump everything you can dump.

2) Then find the earliest optimization pass where they differ (you may even use
diff to make this faster).

3) Check subsequent dumps to see if that difference is actually what makes -O3
to not vectorize. (At this point you can play with -f* -fno-* to reduce the
differences further and isolate the trigger).


  parent reply	other threads:[~2011-09-10  9:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-38306-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 12:05 ` [Bug target/38306] [4.4/4.5/4.6 " jakub at gcc dot gnu.org
2011-02-20 15:33 ` steven at gcc dot gnu.org
2011-02-20 16:24 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-20 16:32 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-20 16:50 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-20 18:59 ` steven at gcc dot gnu.org
2011-02-21  8:29 ` bonzini at gnu dot org
2011-02-21 12:56 ` Joost.VandeVondele at pci dot uzh.ch
2011-04-16 11:17 ` [Bug target/38306] [4.4/4.5/4.6/4.7 " jakub at gcc dot gnu.org
2011-09-09 19:11 ` Joost.VandeVondele at pci dot uzh.ch
2011-09-10  9:52 ` manu at gcc dot gnu.org [this message]
2011-09-10 13:11 ` ubizjak at gmail dot com
2011-09-13  8:30 ` Joost.VandeVondele at pci dot uzh.ch
2012-01-16 12:41 ` rguenth at gcc dot gnu.org

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=bug-38306-4-kLSVBDn2km@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).