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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ 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; 24+ 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] 24+ messages in thread

* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
       [not found] <bug-23835-8473@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-31  5:46 ` mmitchel at gcc dot gnu dot org
@ 2005-10-31 10:47 ` jaffe at broad dot mit dot edu
  4 siblings, 0 replies; 24+ messages in thread
From: jaffe at broad dot mit dot edu @ 2005-10-31 10:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from jaffe at broad dot mit dot edu  2005-10-31 10:47 -------
When is this problem likely to be resolved?  I understand that you have to 
prioritize.  I just want to understand what the prospects are.  Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835


^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
       [not found] <bug-23835-8473@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-17 10:01 ` jaffe at broad dot mit dot edu
@ 2005-10-31  5:46 ` mmitchel at gcc dot gnu dot org
  2005-10-31 10:47 ` jaffe at broad dot mit dot edu
  4 siblings, 0 replies; 24+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  5:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from mmitchel at gcc dot gnu dot org  2005-10-31 05:46 -------
Downgrading to P4.  I'd like to see more progress for 4.1, but it's not going
to be release-critical.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835


^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
       [not found] <bug-23835-8473@http.gcc.gnu.org/bugzilla/>
  2005-10-16 12:20 ` jaffe at broad dot mit dot edu
  2005-10-17  9:41 ` steven at gcc dot gnu dot org
@ 2005-10-17 10:01 ` jaffe at broad dot mit dot edu
  2005-10-31  5:46 ` mmitchel at gcc dot gnu dot org
  2005-10-31 10:47 ` jaffe at broad dot mit dot edu
  4 siblings, 0 replies; 24+ messages in thread
From: jaffe at broad dot mit dot edu @ 2005-10-17 10:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from jaffe at broad dot mit dot edu  2005-10-17 10:01 -------
% gcc -O3 -ftime-report -c test.ii |& grep usr | sort -t : +1 -n -r | head -10

 tree SSA incremental  :   3.19 (12%) usr   0.02 ( 2%) sys   3.18 (11%) wall   
8995 kB ( 2%) ggc
 scheduling 2          :   2.03 ( 8%) usr   0.01 ( 1%) sys   2.05 ( 7%) wall  
15312 kB ( 3%) ggc
 scheduling            :   1.52 ( 6%) usr   0.00 ( 0%) sys   1.53 ( 5%) wall   
7838 kB ( 2%) ggc
 expand                :   1.32 ( 5%) usr   0.01 ( 1%) sys   1.34 ( 5%) wall  
26717 kB ( 6%) ggc
 life analysis         :   1.30 ( 5%) usr   0.00 ( 0%) sys   1.27 ( 5%) wall   
3836 kB ( 1%) ggc
 tree alias analysis   :   1.18 ( 4%) usr   0.08 ( 9%) sys   1.23 ( 4%) wall  
13610 kB ( 3%) ggc
 parser                :   1.08 ( 4%) usr   0.18 (20%) sys   1.26 ( 4%) wall  
99497 kB (22%) ggc
 tree PTA              :   1.00 ( 4%) usr   0.00 ( 0%) sys   1.01 ( 4%) wall   
4565 kB ( 1%) ggc
 tree operand scan     :   0.82 ( 3%) usr   0.14 (16%) sys   1.03 ( 4%) wall  
10663 kB ( 2%) ggc
 integration           :   0.82 ( 3%) usr   0.02 ( 2%) sys   0.84 ( 3%) wall  
88155 kB (19%) ggc


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835


^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
       [not found] <bug-23835-8473@http.gcc.gnu.org/bugzilla/>
  2005-10-16 12:20 ` jaffe at broad dot mit dot edu
@ 2005-10-17  9:41 ` steven at gcc dot gnu dot org
  2005-10-17 10:01 ` jaffe at broad dot mit dot edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 24+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-10-17  9:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from steven at gcc dot gnu dot org  2005-10-17 09:41 -------
Yes, further work is planned on this.  Someone just needs to figure out
what is still eating so much time.  If you can compile with -ftime-report
and report back the top 10 compile time consumers, that'd be helpful ;-)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835


^ permalink raw reply	[flat|nested] 24+ messages in thread

* [Bug tree-optimization/23835] [4.1 Regression] case where gcc 4.1.0 -O3 compile takes two times longer earlier versions
       [not found] <bug-23835-8473@http.gcc.gnu.org/bugzilla/>
@ 2005-10-16 12:20 ` jaffe at broad dot mit dot edu
  2005-10-17  9:41 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 24+ messages in thread
From: jaffe at broad dot mit dot edu @ 2005-10-16 12:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from jaffe at broad dot mit dot edu  2005-10-16 12:20 -------
Is further work planned on this?  Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23835


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2005-10-31 10:47 UTC | newest]

Thread overview: 24+ 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
     [not found] <bug-23835-8473@http.gcc.gnu.org/bugzilla/>
2005-10-16 12:20 ` jaffe at broad dot mit dot edu
2005-10-17  9:41 ` steven at gcc dot gnu dot org
2005-10-17 10:01 ` jaffe at broad dot mit dot edu
2005-10-31  5:46 ` mmitchel at gcc dot gnu dot org
2005-10-31 10:47 ` 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).