public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop
@ 2005-05-07 21:27 pinskia at gcc dot gnu dot org
2005-05-07 21:27 ` [Bug tree-optimization/21449] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-07 21:27 UTC (permalink / raw)
To: gcc-bugs
The loop unroller over estimates the unrolled sized of an empty loop:
int f(void)
{
int i;
for(i = 0 ;i < 10; i++);
}
We get:
Loop size: 5
Estimated size after unrolling: 10
--
Summary: Loop unroller is way over estimating the unroll size of
a loop
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: missed-optimization, TREE
Severity: enhancement
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21449
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop
2005-05-07 21:27 [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop pinskia at gcc dot gnu dot org
@ 2005-05-07 21:27 ` pinskia at gcc dot gnu dot org
2005-06-26 20:20 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-07 21:27 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Version|4.0.0 |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21449
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop
2005-05-07 21:27 [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop pinskia at gcc dot gnu dot org
2005-05-07 21:27 ` [Bug tree-optimization/21449] " pinskia at gcc dot gnu dot org
@ 2005-06-26 20:20 ` pinskia at gcc dot gnu dot org
2005-06-26 20:48 ` steven at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-26 20:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-26 20:20 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords|TREE |
Last reconfirmed|0000-00-00 00:00:00 |2005-06-26 20:20:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21449
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop
2005-05-07 21:27 [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop pinskia at gcc dot gnu dot org
2005-05-07 21:27 ` [Bug tree-optimization/21449] " pinskia at gcc dot gnu dot org
2005-06-26 20:20 ` pinskia at gcc dot gnu dot org
@ 2005-06-26 20:48 ` steven at gcc dot gnu dot org
2005-06-30 11:13 ` rakdver at gcc dot gnu dot org
2005-07-12 0:12 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-06-26 20:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2005-06-26 20:48 -------
tree complete unrolling, for the record... beef for zdenek?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21449
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop
2005-05-07 21:27 [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-06-26 20:48 ` steven at gcc dot gnu dot org
@ 2005-06-30 11:13 ` rakdver at gcc dot gnu dot org
2005-07-12 0:12 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-06-30 11:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rakdver at gcc dot gnu dot org 2005-06-30 11:13 -------
I don't think it is useful to fix this. The proper way of handling this kind
of loops is to just remove them, not to unroll them completely.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21449
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/21449] Loop unroller is way over estimating the unroll size of a loop
2005-05-07 21:27 [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-06-30 11:13 ` rakdver at gcc dot gnu dot org
@ 2005-07-12 0:12 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-12 0:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 00:02 -------
Fixed by removing of the loop instead.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21449
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-12 0:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-07 21:27 [Bug tree-optimization/21449] New: Loop unroller is way over estimating the unroll size of a loop pinskia at gcc dot gnu dot org
2005-05-07 21:27 ` [Bug tree-optimization/21449] " pinskia at gcc dot gnu dot org
2005-06-26 20:20 ` pinskia at gcc dot gnu dot org
2005-06-26 20:48 ` steven at gcc dot gnu dot org
2005-06-30 11:13 ` rakdver at gcc dot gnu dot org
2005-07-12 0:12 ` pinskia 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).