public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikpe at it dot uu.se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/42961] [4.5/4.6 regression] IRA register preferencing bug
Date: Sun, 19 Feb 2012 17:49:00 -0000	[thread overview]
Message-ID: <bug-42961-4-utXCYBwgne@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-42961-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from Mikael Pettersson <mikpe at it dot uu.se> 2012-02-19 17:43:07 UTC ---
The movss instructions were eliminated on trunk by Vladimir Makarov's "patch to
solve recent SPEC2000 degradation" in r178019:
http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01954.html
http://gcc.gnu.org/ml/gcc-cvs/2011-08/msg01034.html

The code generation change at that point is:

--- pr42961.s-r178018   2012-02-19 18:22:46.000000000 +0100
+++ pr42961.s-r178019   2012-02-19 18:17:07.000000000 +0100
@@ -10,18 +10,17 @@
        ucomiss %xmm2, %xmm2
        jp      .L7
        jne     .L7
-       movss   %xmm1, -4(%rsp)
 .L2:
        movl    f(%rip), %eax
        testl   %eax, %eax
        je      .L4
-       movss   -4(%rsp), %xmm2
+       movaps  %xmm1, %xmm2
 .L4:
        movaps  %xmm2, %xmm0
        ret
 .L7:
        movaps  %xmm1, %xmm2
-       movss   %xmm0, -4(%rsp)
+       movaps  %xmm0, %xmm1
        jmp     .L2
        .cfi_endproc
 .LFE0:


  parent reply	other threads:[~2012-02-19 17:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-42961-4@http.gcc.gnu.org/bugzilla/>
2010-12-16 13:03 ` rguenth at gcc dot gnu.org
2011-04-28 15:05 ` [Bug middle-end/42961] [4.5/4.6/4.7 " rguenth at gcc dot gnu.org
2012-01-05  1:04 ` [Bug middle-end/42961] [4.5/4.6 " pinskia at gcc dot gnu.org
2012-02-19 17:49 ` mikpe at it dot uu.se [this message]
2012-07-02 11:05 ` rguenth at gcc dot gnu.org
2013-04-12 16:18 ` [Bug middle-end/42961] [4.6 " jakub at gcc dot gnu.org
2010-02-04 22:05 [Bug middle-end/42961] New: [4.5 " hubicka at gcc dot gnu dot org
2010-07-31  9:35 ` [Bug middle-end/42961] [4.5/4.6 " rguenth at gcc dot gnu dot 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-42961-4-utXCYBwgne@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).