public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59021] New: [4.9 regression] new vzeroupper instructions generated with -mavx
@ 2013-11-06 11:23 ebotcazou at gcc dot gnu.org
  2013-11-06 11:38 ` [Bug target/59021] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-11-06 11:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59021
           Summary: [4.9 regression] new vzeroupper instructions generated
                    with -mavx
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ebotcazou at gcc dot gnu.org

Created attachment 31173
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31173&action=edit
Testcase

It's not clear to me whether this is a real bug or not, but new vzeroupper
instructions started to be generated with -mavx very recently because of:

2013-11-04  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/58968
    * lra-spills.c (return_regno_p): New function.
    (lra_final_code_change): Use it.

For the attached testcase compiled with -O2 -mavx:

--- t.s.0       2013-11-06 12:17:49.080691443 +0100
+++ t.s 2013-11-06 12:17:55.005691730 +0100
@@ -23,12 +23,14 @@
        call    foo
        testl   %eax, %eax
        jne     .L6
+       vzeroupper
        leave
        .cfi_remember_state
        .cfi_def_cfa 7, 8
        ret
 .L6:
        .cfi_restore_state
+       vzeroupper
        call    abort
        .cfi_endproc
 .LFE0:


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

end of thread, other threads:[~2013-11-14 21:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-06 11:23 [Bug target/59021] New: [4.9 regression] new vzeroupper instructions generated with -mavx ebotcazou at gcc dot gnu.org
2013-11-06 11:38 ` [Bug target/59021] " rguenth at gcc dot gnu.org
2013-11-06 14:01 ` ubizjak at gmail dot com
2013-11-06 14:38 ` ubizjak at gmail dot com
2013-11-06 17:28 ` ubizjak at gmail dot com
2013-11-06 17:51 ` ubizjak at gmail dot com
2013-11-06 19:39 ` uros at gcc dot gnu.org
2013-11-14 21:26 ` uros at gcc dot gnu.org

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).