public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/5738] GCSE missed optimization
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
@ 2003-06-18 16:50 ` pinskia at physics dot uc dot edu
2003-07-28 0:25 ` pinskia at physics dot uc dot edu
` (9 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-18 16:50 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |3.3
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-18 16:44 -------
was reported against 3.3 when it was 3.2 in the cvs.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/5738] GCSE missed optimization
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
2003-06-18 16:50 ` [Bug optimization/5738] GCSE missed optimization pinskia at physics dot uc dot edu
@ 2003-07-28 0:25 ` pinskia at physics dot uc dot edu
2003-08-06 12:16 ` [Bug optimization/5738] GCSE missed optimization: common condition instructions pinskia at physics dot uc dot edu
` (8 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-28 0:25 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-07-28 00:25:47
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-28 00:25 -------
still happens on the mainline (20030727).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (2 preceding siblings ...)
2003-08-06 12:16 ` [Bug optimization/5738] GCSE missed optimization: common condition instructions pinskia at physics dot uc dot edu
@ 2003-08-06 12:16 ` pinskia at physics dot uc dot edu
2003-10-21 2:18 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 12:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alga at rgai dot hu
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-06 12:16 -------
*** Bug 11820 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
2003-06-18 16:50 ` [Bug optimization/5738] GCSE missed optimization pinskia at physics dot uc dot edu
2003-07-28 0:25 ` pinskia at physics dot uc dot edu
@ 2003-08-06 12:16 ` pinskia at physics dot uc dot edu
2003-08-06 12:16 ` pinskia at physics dot uc dot edu
` (7 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 12:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Summary|GCSE missed optimization |GCSE missed optimization:
| |common condition
| |instructions
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (3 preceding siblings ...)
2003-08-06 12:16 ` pinskia at physics dot uc dot edu
@ 2003-10-21 2:18 ` pinskia at gcc dot gnu dot org
2004-01-04 7:08 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-21 2:18 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-21 01:19 -------
On the mainline on powerpc-apple-darwin GCC for the given testcase GCC produces something
like this
f()
{
if(a) goto b
ifacode
b:
ifnotacode
return
}
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (4 preceding siblings ...)
2003-10-21 2:18 ` pinskia at gcc dot gnu dot org
@ 2004-01-04 7:08 ` pinskia at gcc dot gnu dot org
2004-01-04 7:22 ` kazu at cs dot umass dot edu
` (4 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-04 7:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-04 07:08 -------
I messed up in saying what it does on PPC:
That should read instead:
f()
{
if(a) goto b
ifacode
return
b:
ifnotacode
return
}
which is not optimial.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (5 preceding siblings ...)
2004-01-04 7:08 ` pinskia at gcc dot gnu dot org
@ 2004-01-04 7:22 ` kazu at cs dot umass dot edu
2004-01-04 7:30 ` kazu at cs dot umass dot edu
` (3 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-01-04 7:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2004-01-04 07:22 -------
On mainline i686-pc-linux-gnu, I get roughly equivalent code with -O2.
Interestingly, I see the commom part merged with -Os.
tree-ssa generates basically the same code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (6 preceding siblings ...)
2004-01-04 7:22 ` kazu at cs dot umass dot edu
@ 2004-01-04 7:30 ` kazu at cs dot umass dot edu
2004-08-12 1:51 ` [Bug rtl-optimization/5738] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: kazu at cs dot umass dot edu @ 2004-01-04 7:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2004-01-04 07:30 -------
gcse_main() in gcse.c says
/* It does not make sense to run code hoisting unless we optimizing
for code size -- it rarely makes programs faster, and can make
them bigger if we did partial redundancy elimination (when optimizing
for space, we use a classic gcse algorithm instead of partial
redundancy algorithms). */
if (optimize_size)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (7 preceding siblings ...)
2004-01-04 7:30 ` kazu at cs dot umass dot edu
@ 2004-08-12 1:51 ` pinskia at gcc dot gnu dot org
2004-11-04 23:31 ` dalej at apple dot com
2005-01-21 17:13 ` mmitchel at gcc dot gnu dot org
10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-12 1:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |16996
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (8 preceding siblings ...)
2004-08-12 1:51 ` [Bug rtl-optimization/5738] " pinskia at gcc dot gnu dot org
@ 2004-11-04 23:31 ` dalej at apple dot com
2005-01-21 17:13 ` mmitchel at gcc dot gnu dot org
10 siblings, 0 replies; 11+ messages in thread
From: dalej at apple dot com @ 2004-11-04 23:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dalej at apple dot com 2004-11-04 23:31 -------
It does say that, and I expect cases can be constructed where the comment is true, but it is not
completely right. When you replace 2 copies of code with 1 copy you are generally making it
smaller. Plus, there is a beneficial interaction with RTL invariant hoisting, as it exposes more
invariants when you do hoisting inside a loop.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/5738] GCSE missed optimization: common condition instructions
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
` (9 preceding siblings ...)
2004-11-04 23:31 ` dalej at apple dot com
@ 2005-01-21 17:13 ` mmitchel at gcc dot gnu dot org
10 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-01-21 17:13 UTC (permalink / raw)
To: gcc-bugs
--
Bug 5738 depends on bug 15559, which changed state.
Bug 15559 Summary: [3.3/3.4/4.0 Regression] misses opportunity for hoisting an expression that would simplify control flow
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15559
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-01-21 17:13 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20020220135601.5738.dann@godzilla.ics.uci.edu>
2003-06-18 16:50 ` [Bug optimization/5738] GCSE missed optimization pinskia at physics dot uc dot edu
2003-07-28 0:25 ` pinskia at physics dot uc dot edu
2003-08-06 12:16 ` [Bug optimization/5738] GCSE missed optimization: common condition instructions pinskia at physics dot uc dot edu
2003-08-06 12:16 ` pinskia at physics dot uc dot edu
2003-10-21 2:18 ` pinskia at gcc dot gnu dot org
2004-01-04 7:08 ` pinskia at gcc dot gnu dot org
2004-01-04 7:22 ` kazu at cs dot umass dot edu
2004-01-04 7:30 ` kazu at cs dot umass dot edu
2004-08-12 1:51 ` [Bug rtl-optimization/5738] " pinskia at gcc dot gnu dot org
2004-11-04 23:31 ` dalej at apple dot com
2005-01-21 17:13 ` mmitchel at gcc dot gnu dot 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).