public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/38711] New: ira should not be using df-lr except at -O1.
@ 2009-01-03 0:42 zadeck at naturalbridge dot com
2009-01-03 0:47 ` [Bug rtl-optimization/38711] " steven at gcc dot gnu dot org
0 siblings, 1 reply; 12+ messages in thread
From: zadeck at naturalbridge dot com @ 2009-01-03 0:42 UTC (permalink / raw)
To: gcc-bugs
Ira should be using the DF-LIVE sets, which are smaller than the DF-LR sets
when they are available (typically at O2 and above).
The proper sets can be conveniently accessed using the df_get_live_[in,out]
functions which use DF-LIVE if it is available and fall back to DF-LR if it is
not.
--
Summary: ira should not be using df-lr except at -O1.
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ra
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: vmakarov at gcc dot gnu dot org
ReportedBy: zadeck at naturalbridge dot com
GCC build triplet: all
GCC host triplet: all
GCC target triplet: all
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
2009-01-03 0:42 [Bug rtl-optimization/38711] New: ira should not be using df-lr except at -O1 zadeck at naturalbridge dot com
@ 2009-01-03 0:47 ` steven at gcc dot gnu dot org
0 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-01-03 0:47 UTC (permalink / raw)
To: gcc-bugs
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-01-03 00:44:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2013-10-16 9:51 ` jakub at gcc dot gnu.org
@ 2015-06-22 14:25 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-22 14:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.3 |---
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2013-10-05 13:05 ` dominiq at lps dot ens.fr
@ 2013-10-16 9:51 ` jakub at gcc dot gnu.org
2015-06-22 14:25 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-10-16 9:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.2 |4.8.3
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.2 has been released.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2013-05-31 10:59 ` jakub at gcc dot gnu.org
@ 2013-10-05 13:05 ` dominiq at lps dot ens.fr
2013-10-16 9:51 ` jakub at gcc dot gnu.org
2015-06-22 14:25 ` rguenth at gcc dot gnu.org
9 siblings, 0 replies; 12+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-10-05 13:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
Bug 38711 depends on bug 54961, which changed state.
Bug 54961 Summary: FAIL: gfortran.dg/pr48757.f -O (internal compiler error) after revision 192440
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54961
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2013-03-22 14:45 ` jakub at gcc dot gnu.org
@ 2013-05-31 10:59 ` jakub at gcc dot gnu.org
2013-10-05 13:05 ` dominiq at lps dot ens.fr
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-05-31 10:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.1 |4.8.2
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.1 has been released.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2012-10-28 11:53 ` steven at gcc dot gnu.org
@ 2013-03-22 14:45 ` jakub at gcc dot gnu.org
2013-05-31 10:59 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-03-22 14:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.0 |4.8.1
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-22 14:44:24 UTC ---
GCC 4.8.0 is being released, adjusting target milestone.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2012-10-28 11:52 ` steven at gcc dot gnu.org
@ 2012-10-28 11:53 ` steven at gcc dot gnu.org
2013-03-22 14:45 ` jakub at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu.org @ 2012-10-28 11:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #5 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-28 11:53:01 UTC ---
Much of GCC is still not ready for this.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2012-10-14 20:35 ` steven at gcc dot gnu.org
@ 2012-10-28 11:52 ` steven at gcc dot gnu.org
2012-10-28 11:53 ` steven at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu.org @ 2012-10-28 11:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-28 11:52:16 UTC ---
Author: steven
Date: Sun Oct 28 11:52:11 2012
New Revision: 192890
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192890
Log:
PR rtl-optimization/38711
* ira.c (ira): Remove DF_LIVE if the problem is in the stack.
(do_reload): Add it back at the end for -O2 and higher.
* function.c (thread_prologue_and_epilogue_insns): Use
REG_SET_TO_HARD_REG_SET instead of CLEAR_HARD_REG_SET and
reg_set_to_hard_reg_set.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/ira.c
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
2012-10-12 22:35 ` steven at gcc dot gnu.org
2012-10-14 19:31 ` steven at gcc dot gnu.org
@ 2012-10-14 20:35 ` steven at gcc dot gnu.org
2012-10-28 11:52 ` steven at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu.org @ 2012-10-14 20:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.8.0
--- Comment #3 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-14 20:35:41 UTC ---
Fixed as of trunk r192440, for GCC 4.8.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
2012-10-12 22:35 ` steven at gcc dot gnu.org
@ 2012-10-14 19:31 ` steven at gcc dot gnu.org
2012-10-14 20:35 ` steven at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu.org @ 2012-10-14 19:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-14 19:31:02 UTC ---
Author: steven
Date: Sun Oct 14 19:30:59 2012
New Revision: 192440
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192440
Log:
PR rtl-optimization/38711
* df.h (df_get_live_out, df_get_live_in): Make static inline functions.
* df-problems.c (df_get_live_out, df_get_live_in): Moved to df.h.
* ira-lives.c (process_bb_node_lives): Use df_get_live_out instead of
DF_LR_OUT.
* ira-build.c (create_bb_allocnos): Likewise.
(create_loop_allocnos): Likewise, and use df_get_live_in instead of
DF_LR_IN.
* ira-emit.c (generate_edge_moves): Likewise.
(add_ranges_and_copies): Likewise.
* ira-color.c (ira_loop_edge_freq): Use df_get_live_out instead of
DF_LR_OUT, and df_get_live_in instead of DF_LR_IN.
* ira.c (mark_elimination): Update DF_LR and DF_LIVE.
(build_insn_chain): Use df_get_live_out instead of DF_LR_OUT.
(do_reload): Remove the DF_LIVE problem for -O1.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/df-problems.c
trunk/gcc/df.h
trunk/gcc/ira-build.c
trunk/gcc/ira-color.c
trunk/gcc/ira-emit.c
trunk/gcc/ira-lives.c
trunk/gcc/ira.c
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
@ 2012-10-12 22:35 ` steven at gcc dot gnu.org
2012-10-14 19:31 ` steven at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: steven at gcc dot gnu.org @ 2012-10-12 22:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
--- Comment #1 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-12 22:34:49 UTC ---
Created attachment 28438
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28438
Use DF_LIVE where possible in IRA
Only in reload1.c should we continue to use DF_LR
Bootstrapped on x86_64-unknown-linux-gnu.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2015-06-22 14:25 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-03 0:42 [Bug rtl-optimization/38711] New: ira should not be using df-lr except at -O1 zadeck at naturalbridge dot com
2009-01-03 0:47 ` [Bug rtl-optimization/38711] " steven at gcc dot gnu dot org
[not found] <bug-38711-4@http.gcc.gnu.org/bugzilla/>
2012-10-12 22:35 ` steven at gcc dot gnu.org
2012-10-14 19:31 ` steven at gcc dot gnu.org
2012-10-14 20:35 ` steven at gcc dot gnu.org
2012-10-28 11:52 ` steven at gcc dot gnu.org
2012-10-28 11:53 ` steven at gcc dot gnu.org
2013-03-22 14:45 ` jakub at gcc dot gnu.org
2013-05-31 10:59 ` jakub at gcc dot gnu.org
2013-10-05 13:05 ` dominiq at lps dot ens.fr
2013-10-16 9:51 ` jakub at gcc dot gnu.org
2015-06-22 14:25 ` rguenth 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).