public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
@ 2005-09-12 16:30 jaffe at broad dot mit dot edu
2005-09-12 16:32 ` [Bug c++/23835] " pinskia at gcc dot gnu dot org
` (17 more replies)
0 siblings, 18 replies; 19+ messages in thread
From: jaffe at broad dot mit dot edu @ 2005-09-12 16:30 UTC (permalink / raw)
To: gcc-bugs
We observe that on ia64,
gcc -On -c test.ii (n = 1,2,3)
is several times slower under gcc 4.1.0 than gcc 3.4.3:
Compile time in seconds
-O0 -O1 -O2 -O3
3.4.3 5.659 9.515 13.811 14.779
4.1.0 8.417 44.652 56.176 60.204
This is typical of what we observe for compiles of long files.
Hardware: IA-64 (Itanium 2), 1600 MHz, running Linux 2.6.12.2n.
% gcc -v
Reading specs from /util/bin/../lib/gcc/ia64-unknown-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/mnt/util/ia64
Thread model: posix
gcc version 3.4.3
% gcc -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: ../configure --prefix=/wga1/gcc
Thread model: posix
gcc version 4.1.0 20050730 (experimental)
--
Summary: case where gcc 4.1.0 -O3 compile takes 4 times longer
than gcc 3.4.3, on ia64
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jaffe at broad dot mit dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-unknown-linux-gnu
GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug c++/23835] case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
@ 2005-09-12 16:32 ` pinskia at gcc dot gnu dot org
2005-09-12 16:34 ` jaffe at broad dot mit dot edu
` (16 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-12 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-12 16:32 -------
(In reply to comment #0)
> % gcc -v
> Using built-in specs.
> Target: ia64-unknown-linux-gnu
> Configured with: ../configure --prefix=/wga1/gcc
> Thread model: posix
> gcc version 4.1.0 20050730 (experimental)
You are compiling with checking enabled. Try to configure with --enable-checking=release and try
again.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug c++/23835] case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
2005-09-12 16:32 ` [Bug c++/23835] " pinskia at gcc dot gnu dot org
@ 2005-09-12 16:34 ` jaffe at broad dot mit dot edu
2005-09-12 18:35 ` pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: jaffe at broad dot mit dot edu @ 2005-09-12 16:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jaffe at broad dot mit dot edu 2005-09-12 16:33 -------
Created an attachment (id=9711)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9711&action=view)
preprocessed source code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug c++/23835] case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
2005-09-12 16:32 ` [Bug c++/23835] " pinskia at gcc dot gnu dot org
2005-09-12 16:34 ` jaffe at broad dot mit dot edu
@ 2005-09-12 18:35 ` pinskia at gcc dot gnu dot org
2005-09-13 22:03 ` jaffe at broad dot mit dot edu
` (14 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-12 18:35 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug c++/23835] case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (2 preceding siblings ...)
2005-09-12 18:35 ` pinskia at gcc dot gnu dot org
@ 2005-09-13 22:03 ` jaffe at broad dot mit dot edu
2005-09-13 22:09 ` pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: jaffe at broad dot mit dot edu @ 2005-09-13 22:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jaffe at broad dot mit dot edu 2005-09-13 22:03 -------
We recompiled gcc 4.1.0 with checking disabled. The results are now less
dramatic but still of concern: optimized 4.1.0 compiles take about twice as
long as 3.4.3 compiles on the test case:
Compile time in seconds
-O0 -O1 -O2 -O3
3.4.3 5.659 9.515 13.811 14.779
4.1.0 5.863 22.025 32.208 32.611
% gcc -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: ../configure --prefix=/wga1/gcc --enable-checking=release
Thread model: posix
gcc version 4.1.0 20050730 (experimental)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug c++/23835] case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (3 preceding siblings ...)
2005-09-13 22:03 ` jaffe at broad dot mit dot edu
@ 2005-09-13 22:09 ` pinskia at gcc dot gnu dot org
2005-09-13 22:18 ` [Bug tree-optimization/23835] " pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 22:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 22:09 -------
Can you run with -ftime-report and attach the results?
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |compile-time-hog
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (4 preceding siblings ...)
2005-09-13 22:09 ` pinskia at gcc dot gnu dot org
@ 2005-09-13 22:18 ` pinskia at gcc dot gnu dot org
2005-09-13 22:38 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 22:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 22:18 -------
tree alias analysis : 5.56 (17%) usr 0.07 ( 8%) sys 5.66 (17%) wall 13812 kB ( 3%) ggc
tree SSA incremental : 3.15 (10%) usr 0.01 ( 2%) sys 3.18 (10%) wall 8152 kB ( 2%) ggc
hmm, we most likely just have too many VOPS but I don't know for sure yet.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |tree-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (5 preceding siblings ...)
2005-09-13 22:18 ` [Bug tree-optimization/23835] " pinskia at gcc dot gnu dot org
@ 2005-09-13 22:38 ` pinskia at gcc dot gnu dot org
2005-09-13 23:14 ` [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 22:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 22:37 -------
The main function is huge, no wonder this takes more time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (6 preceding siblings ...)
2005-09-13 22:38 ` pinskia at gcc dot gnu dot org
@ 2005-09-13 23:14 ` pinskia at gcc dot gnu dot org
2005-09-13 23:29 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 23:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 23:13 -------
We have at least 50000 SSA_NAMEs, that is just huge. We have only V_MAY_DEFs for .GLOBAL_VAR and
a TMT.
This happens on all targets and not just ia64.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|ia64-unknown-linux-gnu |
GCC host triplet|ia64-unknown-linux-gnu |
GCC target triplet|ia64-unknown-linux-gnu |
Summary|case where gcc 4.1.0 -O3 |case where gcc 4.1.0 -O3
|compile takes two times |compile takes two times
|longer than gcc 3.4.3, on |longer than gcc 3.4.3
|ia64 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (7 preceding siblings ...)
2005-09-13 23:14 ` [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 pinskia at gcc dot gnu dot org
@ 2005-09-13 23:29 ` pinskia at gcc dot gnu dot org
2005-09-14 0:32 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 23:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 23:29 -------
(In reply to comment #8)
> We have at least 50000 SSA_NAMEs, that is just huge. We have only V_MAY_DEFs for .GLOBAL_VAR
> and a TMT.
Over half, 40,000 are scalars registers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (8 preceding siblings ...)
2005-09-13 23:29 ` pinskia at gcc dot gnu dot org
@ 2005-09-14 0:32 ` pinskia at gcc dot gnu dot org
2005-09-14 0:35 ` [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 and 4.0.0 pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-14 0:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-14 00:32 -------
[20:26] < pinskia> but 38% are in compute_may_aliases
[20:27] < pinskia> and 80% of that is in the loop which is going through all SSA_NAMES
[20:27] < pinskia> this is in create_name_tags
[20:28] < pinskia> it is O(n^2)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 and 4.0.0
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (9 preceding siblings ...)
2005-09-14 0:32 ` pinskia at gcc dot gnu dot org
@ 2005-09-14 0:35 ` pinskia at gcc dot gnu dot org
2005-09-14 0:42 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-14 0:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-14 00:35 -------
Hmm, in 4.0.0, we take a nice time at -O3.
may_alias took only:
tree alias analysis : 0.28 ( 3%) usr 0.01 ( 1%) sys 0.21 ( 2%) wall
Total time:
TOTAL : 8.55 1.04 9.75
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|case where gcc 4.1.0 -O3 |[4.1 Regression] case where
|compile takes two times |gcc 4.1.0 -O3 compile takes
|longer than gcc 3.4.3 |two times longer than gcc
| |3.4.3 and 4.0.0
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 and 4.0.0
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (10 preceding siblings ...)
2005-09-14 0:35 ` [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 and 4.0.0 pinskia at gcc dot gnu dot org
@ 2005-09-14 0:42 ` pinskia at gcc dot gnu dot org
2005-09-14 2:50 ` dberlin at gcc dot gnu dot org
` (5 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-14 0:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-14 00:42 -------
Hmm, in 4.0.0, we have about 6,800 SSA_NAMEs.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 and 4.0.0
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (11 preceding siblings ...)
2005-09-14 0:42 ` pinskia at gcc dot gnu dot org
@ 2005-09-14 2:50 ` dberlin at gcc dot gnu dot org
2005-09-15 1:28 ` [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-09-14 2:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-09-14 02:49 -------
I have a patch for the alias portion of this
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dberlin at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|0000-00-00 00:00:00 |2005-09-14 02:49:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (12 preceding siblings ...)
2005-09-14 2:50 ` dberlin at gcc dot gnu dot org
@ 2005-09-15 1:28 ` cvs-commit at gcc dot gnu dot org
2005-09-15 16:40 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-15 1:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-15 01:28 -------
Subject: Bug 23835
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dberlin@gcc.gnu.org 2005-09-15 01:28:14
Modified files:
gcc : ChangeLog tree-ssa-alias.c
Log message:
2005-09-14 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/23835
* tree-ssa-alias.c (sort_pointers_by_pt_vars): New function.
(create_name_tags): Rewrite to be not O(num_ssa_names^2).
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9957&r2=2.9958
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-alias.c.diff?cvsroot=gcc&r1=2.109&r2=2.110
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (13 preceding siblings ...)
2005-09-15 1:28 ` [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions cvs-commit at gcc dot gnu dot org
@ 2005-09-15 16:40 ` pinskia at gcc dot gnu dot org
2005-09-15 16:49 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-15 16:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 16:40 -------
This is much better now but still more improvements can happen. I am going to unassign Daniel for
now as the aliasing pass takes much less now.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|dberlin at gcc dot gnu dot |unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (14 preceding siblings ...)
2005-09-15 16:40 ` pinskia at gcc dot gnu dot org
@ 2005-09-15 16:49 ` pinskia at gcc dot gnu dot org
2005-09-15 16:50 ` pinskia at gcc dot gnu dot org
2005-09-28 9:46 ` jaffe at broad dot mit dot edu
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-15 16:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 16:49 -------
on x86_64, there is only about 2x compile time increase at -O3. Though it is much faster now, than it
was a couple of days ago.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (15 preceding siblings ...)
2005-09-15 16:49 ` pinskia at gcc dot gnu dot org
@ 2005-09-15 16:50 ` pinskia at gcc dot gnu dot org
2005-09-28 9:46 ` jaffe at broad dot mit dot edu
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-15 16:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 16:50 -------
Looking at the numbers for -fno-inline, I noticed it drops back down to the 4.0.0 numbers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
` (16 preceding siblings ...)
2005-09-15 16:50 ` pinskia at gcc dot gnu dot org
@ 2005-09-28 9:46 ` jaffe at broad dot mit dot edu
17 siblings, 0 replies; 19+ messages in thread
From: jaffe at broad dot mit dot edu @ 2005-09-28 9:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jaffe at broad dot mit dot edu 2005-09-28 09:45 -------
That's an improvement!
Still, here are the stats again, updated for 4.1.0:
Compile time in seconds for test.ii:
-O0 -O1 -O2 -O3
3.4.3 5.659 9.515 13.811 14.779
4.1.0 5.829 16.398 24.618 27.066
% gcc -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: ../configure --prefix=/wga1/gcc --enable-checking=release
Thread model: posix
gcc version 4.1.0 20050926 (experimental)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2005-09-28 9:46 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-12 16:30 [Bug c++/23835] New: case where gcc 4.1.0 -O3 compile takes 4 times longer than gcc 3.4.3, on ia64 jaffe at broad dot mit dot edu
2005-09-12 16:32 ` [Bug c++/23835] " pinskia at gcc dot gnu dot org
2005-09-12 16:34 ` jaffe at broad dot mit dot edu
2005-09-12 18:35 ` pinskia at gcc dot gnu dot org
2005-09-13 22:03 ` jaffe at broad dot mit dot edu
2005-09-13 22:09 ` pinskia at gcc dot gnu dot org
2005-09-13 22:18 ` [Bug tree-optimization/23835] " pinskia at gcc dot gnu dot org
2005-09-13 22:38 ` pinskia at gcc dot gnu dot org
2005-09-13 23:14 ` [Bug tree-optimization/23835] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 pinskia at gcc dot gnu dot org
2005-09-13 23:29 ` pinskia at gcc dot gnu dot org
2005-09-14 0:32 ` pinskia at gcc dot gnu dot org
2005-09-14 0:35 ` [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer than gcc 3.4.3 and 4.0.0 pinskia at gcc dot gnu dot org
2005-09-14 0:42 ` pinskia at gcc dot gnu dot org
2005-09-14 2:50 ` dberlin at gcc dot gnu dot org
2005-09-15 1:28 ` [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions cvs-commit at gcc dot gnu dot org
2005-09-15 16:40 ` pinskia at gcc dot gnu dot org
2005-09-15 16:49 ` pinskia at gcc dot gnu dot org
2005-09-15 16:50 ` pinskia at gcc dot gnu dot org
2005-09-28 9:46 ` jaffe at broad dot mit dot edu
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).