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
* [Bug rtl-optimization/57468] [4.9 Regression] 26% performance drop on important benchmark after r199298.
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 ` ysrumyan at gmail dot com
2013-06-06 15:14 ` vmakarov at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ysrumyan at gmail dot com @ 2013-05-30 10:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57468
--- Comment #1 from Yuri Rumyantsev <ysrumyan at gmail dot com> ---
Created attachment 30224
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30224&action=edit
test-case to reproduce
It should be compiled on x86 with "-O2 -m32" options.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/57468] [4.9 Regression] 26% performance drop on important benchmark after r199298.
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
3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2013-06-06 15:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57468
Vladimir Makarov <vmakarov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmakarov at gcc dot gnu.org
--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Thanks for reporting this. I guess the secondary reload is generated when one
pseudo is spilled. I'll be working on this.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/57468] [4.9 Regression] 26% performance drop on important benchmark after r199298.
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
3 siblings, 0 replies; 5+ messages in thread
From: izamyatin at gmail dot com @ 2013-06-08 17:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57468
--- Comment #3 from Igor Zamyatin <izamyatin at gmail dot com> ---
Patch is here http://gcc.gnu.org/ml/gcc-patches/2013-06/msg00357.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/57468] [4.9 Regression] 26% performance drop on important benchmark after r199298.
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
` (2 preceding siblings ...)
2013-06-08 17:17 ` izamyatin at gmail dot com
@ 2013-06-12 8:09 ` jakub at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-06-12 8:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57468
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Thus fixed.
^ 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).