public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/57468] New: [4.9 Regression] 26% performance drop on important benchmark after r199298.
@ 2013-05-30 10:53 ysrumyan at gmail dot com
  2013-05-30 10:55 ` [Bug rtl-optimization/57468] " ysrumyan at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ysrumyan at gmail dot com @ 2013-05-30 10:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57468
           Summary: [4.9 Regression] 26% performance drop on important
                    benchmark after r199298.
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ysrumyan at gmail dot com

We found significant performance drop after changes in lra phase, which can be
demonstrated on example from 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55342

I will attach test-case.
And we can see that redundant spill/reload was generated for inner loop that
leads to performance degradation:

.L4:
    movl    %esi, %edx
    addl    $4, %eax
    subl    %edx, %ebx
    subl    %edx, %ecx
    movzbl    (%esp), %edx
    movb    %cl, -3(%eax)
    movl    %esi, %ecx
    movl    %esi, (%esp)  <<-- redundant spill
    movb    %bl, -4(%eax)
    movzbl    (%esp), %ebx  <<-- redundant fill
    subl    %ecx, %edx
    movb    %dl, -2(%eax)
    cmpl    %ebp, 4(%esp)
    movb    %bl, -1(%eax)
    je    .L1


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

end of thread, other threads:[~2013-06-12  8:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-30 10:53 [Bug rtl-optimization/57468] New: [4.9 Regression] 26% performance drop on important benchmark after r199298 ysrumyan at gmail dot com
2013-05-30 10:55 ` [Bug rtl-optimization/57468] " ysrumyan at gmail dot com
2013-06-06 15:14 ` vmakarov at gcc dot gnu.org
2013-06-08 17:17 ` izamyatin at gmail dot com
2013-06-12  8:09 ` jakub 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).