public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/53346] [4.6/4.7/4.8 Regression] Bad vectorization in the proc cptrf2 of rnflow.f90
Date: Fri, 18 May 2012 18:27:00 -0000	[thread overview]
Message-ID: <bug-53346-4-2nVnmzGVj5@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-53346-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #16 from Uros Bizjak <ubizjak at gmail dot com> 2012-05-18 18:24:43 UTC ---
Perf confirms this findings, the first loop:

    0.02 :          401e10:       movslq %edx,%rbx
    5.04 :          401e13:       movss  -0x4(%rdi,%rbx,4),%xmm0
   24.97 :          401e19:       ucomiss (%r9),%xmm0
   14.66 :          401e1d:       cmova  %ecx,%edx
   15.37 :          401e20:       sub    $0x1,%ecx
    0.00 :          401e23:       sub    $0x4,%r9
    0.00 :          401e27:       cmp    %r10d,%ecx
    0.00 :          401e2a:       jne    401e10 <cptrf2_+0x230>

the second:

    0.00 :          401e60:       movslq %ecx,%r10
    1.69 :          401e63:       movss  -0x4(%rdi,%r10,4),%xmm0
    7.78 :          401e6a:       ucomiss (%r9),%xmm0
    4.75 :          401e6e:       cmova  %r11d,%ecx
    4.52 :          401e72:       sub    $0x1,%r11d
    0.00 :          401e76:       sub    $0x4,%r9
    0.05 :          401e7a:       cmp    %eax,%r11d
    0.00 :          401e7d:       jne    401e60 <cptrf2_+0x280>

the third:

    0.00 :          401ff8:       movslq %edx,%r10
    0.78 :          401ffb:       movss  -0x4(%rdi,%r10,4),%xmm0
    3.14 :          402002:       ucomiss (%r9),%xmm0
    2.04 :          402006:       cmova  %ecx,%edx
    1.89 :          402009:       sub    $0x4,%r9
    0.00 :          40200d:       sub    $0x1,%ecx
    0.00 :          402010:       jne    401ff8 <cptrf2_+0x418>


  parent reply	other threads:[~2012-05-18 18:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 15:44 [Bug tree-optimization/53346] New: " dominiq at lps dot ens.fr
2012-05-15  9:54 ` [Bug tree-optimization/53346] " rguenth at gcc dot gnu.org
2012-05-15 12:55 ` dominiq at lps dot ens.fr
2012-05-17 18:35 ` ubizjak at gmail dot com
2012-05-17 20:47 ` ubizjak at gmail dot com
2012-05-18 11:49 ` rguenth at gcc dot gnu.org
2012-05-18 14:28 ` rguenth at gcc dot gnu.org
2012-05-18 14:32 ` rguenth at gcc dot gnu.org
2012-05-18 14:49 ` ubizjak at gmail dot com
2012-05-18 14:52 ` dominiq at lps dot ens.fr
2012-05-18 15:13 ` ubizjak at gmail dot com
2012-05-18 17:32 ` ubizjak at gmail dot com
2012-05-18 17:34 ` ubizjak at gmail dot com
2012-05-18 17:46 ` ubizjak at gmail dot com
2012-05-18 17:48 ` ubizjak at gmail dot com
2012-05-18 17:56 ` pinskia at gcc dot gnu.org
2012-05-18 18:27 ` hjl.tools at gmail dot com
2012-05-18 18:27 ` ubizjak at gmail dot com [this message]
2012-05-18 19:45 ` dominiq at lps dot ens.fr
2012-05-19 23:50 ` dominiq at lps dot ens.fr
2012-09-07 11:59 ` [Bug target/53346] " rguenth at gcc dot gnu.org
2012-11-14 22:19 ` hubicka at gcc dot gnu.org
2012-11-14 22:38 ` hubicka at gcc dot gnu.org
2012-12-31  9:20 ` [Bug target/53346] [4.6/4.7/4.8 Regression] Bad if conversion in " pinskia at gcc dot gnu.org
2012-12-31  9:41 ` pinskia at gcc dot gnu.org
2022-09-26  3:22 ` cvs-commit at gcc dot gnu.org
2022-09-26  3:24 ` crazylht at gmail dot com

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-53346-4-2nVnmzGVj5@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).