public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-4@http.gcc.gnu.org/bugzilla/>
@ 2022-07-13 13:17 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-07-13 13:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12392

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |

--- Comment #34 from Richard Biener <rguenth at gcc dot gnu.org> ---
While LNT sees recent ups-and-downs
https://lnt.opensuse.org/db_default/v4/CPP/graph?plot.0=286.585.8 the
time-report on trunk as of r13-1683-gc7970b146f98f5
shows at -O2 -g

 callgraph ipa passes               :   3.88 (  7%)   0.16 ( 21%)   4.04 (  7%)
  101M ( 15%)
 PRE                                :   1.97 (  4%)   0.01 (  1%)   1.99 (  3%)
 1400k (  0%)
 tree PTA                           :  18.74 ( 33%)   0.04 (  5%)  18.78 ( 33%)
 5001k (  1%)
 var-tracking dataflow              :  15.36 ( 27%)   0.07 (  9%)  15.40 ( 27%)
   79k (  0%)
 TOTAL                              :  56.07          0.76         56.87       
  690M

the high tree PTA time is "new" here.

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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2010-06-24  8:43 ` rguenth at gcc dot gnu dot org
@ 2010-06-24 17:58 ` aoliva at gcc dot gnu dot org
  11 siblings, 0 replies; 20+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-06-24 17:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #32 from aoliva at gcc dot gnu dot org  2010-06-24 17:58 -------
I don't see how a bug reported in 2003 against 3.2 and marked as failing up to
4.0 could possibly be related in any way with VTA.  Clearly that bug was fixed.
 Sure, VTA does perform poorly with these testcases, but this is not the bug
that was reported, and we already have other bugs about VTA performance.


-- 

aoliva at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2010-06-24  4:02 ` aoliva at gcc dot gnu dot org
@ 2010-06-24  8:43 ` rguenth at gcc dot gnu dot org
  2010-06-24 17:58 ` aoliva at gcc dot gnu dot org
  11 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-24  8:43 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2002 bytes --]



------- Comment #31 from rguenth at gcc dot gnu dot org  2010-06-24 08:42 -------
Surely not.

> g++-4.5 -S -o /dev/null MRApStyle.cc -O2 -g -ftime-report
MRApStyle.cc: In constructor ‘MRApStyle::MRApStyle()’:
MRApStyle.cc:2409:1: note: variable tracking size limit exceeded with
-fvar-tracking-assignments, retrying without

 variable tracking     :  88.42 (55%) usr   0.52 (20%) sys  89.28 (54%) wall  
82333 kB (14%) ggc
 TOTAL                 : 161.23             2.64           164.58            
579368 kB

on the top of the 4.5 branch.  Everything else looks good now, so we can
as well claim its one of the dups of the var-tracking-is-slow-and-memory-hungry
bugs.

90s var-tracking and then giving up is quite bad.  Can't we estimate instead
of compute and give up?

4.4 needed 186s even without the var-tracking slowness, so at least we
have recovered for that elsewhere... (in operand-scan, aka alias-improvements)

Biggest offenders in 4.5 without -g are

 df live regs          :   4.66 ( 7%) usr   0.04 ( 2%) sys   4.77 ( 7%) wall   
   0 kB ( 0%) ggc
 df live&initialized regs:   3.17 ( 5%) usr   0.03 ( 1%) sys   3.28 ( 5%) wall 
     0 kB ( 0%) ggc
 expand                :   4.51 ( 7%) usr   0.11 ( 5%) sys   4.56 ( 7%) wall  
45724 kB (14%) ggc
 CPROP                 :   2.36 ( 4%) usr   0.08 ( 4%) sys   2.43 ( 4%) wall  
10379 kB ( 3%) ggc
 PRE                   :   3.80 ( 6%) usr   0.18 ( 9%) sys   4.03 ( 6%) wall   
9490 kB ( 3%) ggc
 integrated RA         :   5.56 ( 8%) usr   0.06 ( 3%) sys   5.64 ( 8%) wall   
3140 kB ( 1%) ggc
 reload                :   2.79 ( 4%) usr   0.08 ( 4%) sys   2.93 ( 4%) wall  
14680 kB ( 4%) ggc
 reload CSE regs       :   6.40 (10%) usr   0.09 ( 4%) sys   6.53 (10%) wall  
13311 kB ( 4%) ggc
 scheduling 2          :   2.64 ( 4%) usr   0.05 ( 2%) sys   2.69 ( 4%) wall   
 278 kB ( 0%) ggc
 TOTAL                 :  65.64             2.01            68.05            
338657 kB


-- 


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2009-10-01 11:48 ` jamborm at gcc dot gnu dot org
@ 2010-06-24  4:02 ` aoliva at gcc dot gnu dot org
  2010-06-24  8:43 ` rguenth at gcc dot gnu dot org
  2010-06-24 17:58 ` aoliva at gcc dot gnu dot org
  11 siblings, 0 replies; 20+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2010-06-24  4:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from aoliva at gcc dot gnu dot org  2010-06-24 04:01 -------
Patch installed on 2009-10-01, assuming fixed.


-- 

aoliva at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2009-09-18 15:52 ` jamborm at gcc dot gnu dot org
@ 2009-10-01 11:48 ` jamborm at gcc dot gnu dot org
  2010-06-24  4:02 ` aoliva at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2009-10-01 11:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #29 from jamborm at gcc dot gnu dot org  2009-10-01 11:48 -------
Subject: Bug 12392

Author: jamborm
Date: Thu Oct  1 11:48:24 2009
New Revision: 152368

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152368
Log:
2009-10-01  Martin Jambor  <mjambor@suse.cz>

        PR middle-end/12392
        * tree-sra.c (convert_callers): Do not call
        compute_inline_parameters on one caller more than once.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-sra.c


-- 


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2009-09-18  9:46 ` rguenth at gcc dot gnu dot org
@ 2009-09-18 15:52 ` jamborm at gcc dot gnu dot org
  2009-10-01 11:48 ` jamborm at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2009-09-18 15:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from jamborm at gcc dot gnu dot org  2009-09-18 15:52 -------
(In reply to comment #27)
> Today we regressed with the introduction of IPA-SRA at -O2 and -O3:
> 

The problem is that I call compute_inline_parameters() whenever I
change a single call site, even when the caller is the same.  The
following patch (which I am about to bootstrap and test) should fix
that:

2009-09-18  Martin Jambor  <mjambor@suse.cz>

        * tree-sra.c (convert_callers): Do not call
        compute_inline_parameters on one caller more than once.

Index: mine/gcc/tree-sra.c
===================================================================
--- mine.orig/gcc/tree-sra.c    2009-09-18 14:53:07.000000000 +0200
+++ mine/gcc/tree-sra.c 2009-09-18 17:26:57.000000000 +0200
@@ -3637,6 +3637,7 @@ convert_callers (struct cgraph_node *nod
   tree old_cur_fndecl = current_function_decl;
   struct cgraph_edge *cs;
   basic_block this_block;
+  bitmap recomputed_callers = BITMAP_ALLOC (NULL);

   for (cs = node->callers; cs; cs = cs->next_caller)
     {
@@ -3644,15 +3645,24 @@ convert_callers (struct cgraph_node *nod
       push_cfun (DECL_STRUCT_FUNCTION (cs->caller->decl));

       if (dump_file)
-       fprintf (dump_file, "Adjusting call %s -> %s\n",
+       fprintf (dump_file, "Adjusting call (%i -> %i) %s -> %s\n",
+                cs->caller->uid, cs->callee->uid,
                 cgraph_node_name (cs->caller),
                 cgraph_node_name (cs->callee));

       ipa_modify_call_arguments (cs, cs->call_stmt, adjustments);
-      compute_inline_parameters (cs->caller);

       pop_cfun ();
     }
+
+  for (cs = node->callers; cs; cs = cs->next_caller)
+    if (!bitmap_bit_p (recomputed_callers, cs->caller->uid))
+      {
+       compute_inline_parameters (cs->caller);
+       bitmap_set_bit (recomputed_callers, cs->caller->uid);
+      }
+  BITMAP_FREE (recomputed_callers);
+
   current_function_decl = old_cur_fndecl;
   FOR_EACH_BB (this_block)
     {


-- 

jamborm at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|mjambor at suse dot cz      |jamborm at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2009-03-29 18:48 ` hubicka at gcc dot gnu dot org
@ 2009-09-18  9:46 ` rguenth at gcc dot gnu dot org
  2009-09-18 15:52 ` jamborm at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-18  9:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from rguenth at gcc dot gnu dot org  2009-09-18 09:45 -------
Today we regressed with the introduction of IPA-SRA at -O2 and -O3:

ipa SRA               : 387.53 (78%) usr   0.08 ( 5%) sys 387.79 (77%) wall   
2939 kB ( 1%) ggc

my bet is at the alias-oracle walking (walk_aliased_vdefs), which is not
properly limited.

with VTA introduction we regressed at -O1 -g:

variable tracking     : 592.31 (91%) usr   1.06 (48%) sys 593.55 (91%) wall 
239922 kB (34%) ggc


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org, mjambor at suse dot cz


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2009-02-23 17:47 ` stevenb dot gcc at gmail dot com
@ 2009-03-29 18:48 ` hubicka at gcc dot gnu dot org
  2009-09-18  9:46 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2009-03-29 18:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from hubicka at gcc dot gnu dot org  2009-03-29 18:48 -------
We seem to have regression at mainline today perhaps because of pure-const
at -O2:
cfg.c:142 (alloc_block)                            15403008: 2.3%          0:
0.0%          0: 0.0%          0: 0.0%     160448
tree-inline.c:4265 (copy_decl_no_change)           15203936: 2.2%          0:
0.0%     964656: 3.3%     690224: 0.7%      99321
tree-ssanames.c:141 (make_ssa_name_fn)             17623560: 2.6%          0:
0.0%    1129680: 3.9%    1250216: 1.3%     156277
emit-rtl.c:2665 (copy_rtx_if_shared_1)             20117600: 3.0%          0:
0.0%          0: 0.0%    4023520: 4.1%     502940
lists.c:143 (alloc_EXPR_LIST)                      23694160: 3.5%          0:
0.0%          0: 0.0%    4738832: 4.9%     592354
emit-rtl.c:641 (gen_rtx_MEM)                       24466560: 3.6%          0:
0.0%     174080: 0.6%    4928128: 5.1%     616016
rtl.c:269 (copy_rtx)                               29621128: 4.4%          0:
0.0%          0: 0.0%    5896184: 6.1%     743632
tree-inline.c:3766 (copy_tree_r)                   30563536: 4.5%          0:
0.0%          0: 0.0%    2974912: 3.1%     393331
emit-rtl.c:3513 (make_insn_raw)                    58450216: 8.6%          0:
0.0%         88: 0.0%    5313664: 5.5%     664208
cselib.c:1232 (cselib_subst_to_values)            103375952:15.3%          0:
0.0%          0: 0.0%   20656064:21.3%    2586614
Total                                             677205851        124344604   
     29046802         96985481         13652049
source location                                     Garbage            Freed   
         Leak         Overhead            Times

and at -O1
tree-phinodes.c:157 (allocate_phi_node)            10091496: 2.5%          0:
0.0%          0: 0.0%     191592: 0.4%      27549
gimple-iterator.c:446 (gsi_insert_after_without_   12590760: 3.1%          0:
0.0%          0: 0.0%    2518152: 5.2%     314769
lists.c:143 (alloc_EXPR_LIST)                      13522200: 3.3%          0:
0.0%          0: 0.0%    2704440: 5.6%     338055
emit-rtl.c:3513 (make_insn_raw)                    13602336: 3.3%          0:
0.0%          0: 0.0%    1236576: 2.5%     154572
gimple.c:2071 (gimple_copy)                        14430192: 3.6%          0:
0.0%          0: 0.0%     600976: 1.2%     127728
cfg.c:142 (alloc_block)                            14840448: 3.7%          0:
0.0%          0: 0.0%          0: 0.0%     154588
tree-inline.c:4265 (copy_decl_no_change)           15919880: 3.9%          0:
0.0%          0: 0.0%     678088: 1.4%      97852
tree-ssanames.c:141 (make_ssa_name_fn)             17289000: 4.3%          0:
0.0%        240: 0.0%    1152616: 2.4%     144077
tree-inline.c:3766 (copy_tree_r)                   30226976: 7.4%          0:
0.0%          0: 0.0%    2942688: 6.1%     389203


this is tree after ehcleanup merge.  Perhaps memory problems was solved with
it, we still have compile time issues with PRE though.


-- 


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2009-02-23 14:17 ` rguenth at gcc dot gnu dot org
@ 2009-02-23 17:47 ` stevenb dot gcc at gmail dot com
  2009-03-29 18:48 ` hubicka at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: stevenb dot gcc at gmail dot com @ 2009-02-23 17:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #25 from stevenb dot gcc at gmail dot com  2009-02-23 17:47 -------
Subject: Re:  very long optimized compile

Re Comment #24:

I can look into it...


-- 


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2009-02-23 13:43 ` rguenth at gcc dot gnu dot org
@ 2009-02-23 14:17 ` rguenth at gcc dot gnu dot org
  2009-02-23 17:47 ` stevenb dot gcc at gmail dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-02-23 14:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #24 from rguenth at gcc dot gnu dot org  2009-02-23 14:16 -------
I just timed a-i branch and we get most of the time spent in PRE...

 PRE                   :  18.69 (13%) usr   0.25 ( 7%) sys  19.30 (12%) wall  
39484 kB ( 5%) ggc

301320   10.8102  compute_transp
104175    3.7374  sbitmap_intersection_of_preds
55662     1.9969  bitmap_set_bit
51810     1.8587  bitmap_bit_p

something for you, Steven?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stevenb dot gcc at gmail dot
                   |                            |com


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
  2007-09-20 13:57 ` rguenth at gcc dot gnu dot org
  2009-02-22 14:15 ` steven at gcc dot gnu dot org
@ 2009-02-23 13:43 ` rguenth at gcc dot gnu dot org
  2009-02-23 14:17 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-02-23 13:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #23 from rguenth at gcc dot gnu dot org  2009-02-23 13:43 -------
-O2 compile-time improved from ~300s to ~180s over the last 1.5 years.


-- 


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
  2007-09-20 13:57 ` rguenth at gcc dot gnu dot org
@ 2009-02-22 14:15 ` steven at gcc dot gnu dot org
  2009-02-23 13:43 ` rguenth at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-02-22 14:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from steven at gcc dot gnu dot org  2009-02-22 14:15 -------
"Last modified" is long ago. Richi, you added it to the daily testers.  How is
it doing there?


-- 


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


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

* [Bug middle-end/12392] very long optimized compile
       [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
@ 2007-09-20 13:57 ` rguenth at gcc dot gnu dot org
  2009-02-22 14:15 ` steven at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-09-20 13:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from rguenth at gcc dot gnu dot org  2007-09-20 13:56 -------
Mainline with release checking now needs

-O0:  14.4s 420MB
-O1: 202s   520MB

 tree call clobbering  :  32.91 (16%) usr   0.34 ( 9%) sys  33.31 (16%) wall   
   0 kB ( 0%) ggc
 tree memory partitioning:  24.84 (12%) usr   0.25 ( 7%) sys  25.09 (12%) wall 
     8 kB ( 0%) ggc
 tree operand scan     :  89.49 (44%) usr   1.43 (38%) sys  90.94 (44%) wall  
19314 kB ( 3%) ggc

-O2: 318s  790MB

 tree call clobbering  :  20.05 ( 6%) usr   0.23 ( 4%) sys  20.27 ( 6%) wall   
   0 kB ( 0%) ggc
 tree memory partitioning:  28.70 ( 9%) usr   0.28 ( 5%) sys  29.07 ( 9%) wall 
     5 kB ( 0%) ggc
 tree operand scan     : 105.73 (33%) usr   1.31 (25%) sys 107.23 (33%) wall  
22882 kB ( 3%) ggc
 PRE                   :  27.14 ( 9%) usr   0.32 ( 6%) sys  27.49 ( 8%) wall  
39988 kB ( 5%) ggc


the call clobbering might be fixed with a patch that I have pending.  I
have added this testcase to the nightly tester as well ;)


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dnovillo at gcc dot gnu dot
                   |                            |org
  BugsThisDependsOn|                            |33237
   Last reconfirmed|2005-05-26 12:26:08         |2007-09-20 13:56:55
               date|                            |


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


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

* [Bug middle-end/12392] very long optimized compile
  2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
                   ` (5 preceding siblings ...)
  2005-09-18 19:52 ` rguenth at gcc dot gnu dot org
@ 2005-09-18 19:57 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-09-18 19:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-18 19:57 -------
Peaks at 514545kB with these patches. 

-- 


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


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

* [Bug middle-end/12392] very long optimized compile
  2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
                   ` (4 preceding siblings ...)
  2005-09-18 19:40 ` pinskia at gcc dot gnu dot org
@ 2005-09-18 19:52 ` rguenth at gcc dot gnu dot org
  2005-09-18 19:57 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-09-18 19:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-09-18 19:52 -------
With the C++-initializer cleanup and the gcse.c O(n^2) complexity removal (and
ipa-eh) I get on x86_64 at -O2

 garbage collection    :   2.77 ( 1%) usr   0.03 ( 1%) sys   2.82 ( 1%) wall   
   0 kB ( 0%) ggc
 callgraph construction:   0.65 ( 0%) usr   0.11 ( 3%) sys   0.74 ( 0%) wall   
7688 kB ( 1%) ggc
 callgraph optimization:   0.10 ( 0%) usr   0.00 ( 0%) sys   0.11 ( 0%) wall   
4427 kB ( 0%) ggc
 ipa nothrow           :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall   
   0 kB ( 0%) ggc
 ipa reference         :   0.23 ( 0%) usr   0.03 ( 1%) sys   0.26 ( 0%) wall   
  52 kB ( 0%) ggc
 ipa pure const        :   0.04 ( 0%) usr   0.00 ( 0%) sys   0.04 ( 0%) wall   
   0 kB ( 0%) ggc
 ipa type escape       :   0.24 ( 0%) usr   0.03 ( 1%) sys   0.27 ( 0%) wall   
   0 kB ( 0%) ggc
 cfg construction      :   0.31 ( 0%) usr   0.00 ( 0%) sys   0.33 ( 0%) wall   
6596 kB ( 0%) ggc
 cfg cleanup           :   5.26 ( 2%) usr   0.00 ( 0%) sys   5.25 ( 2%) wall   
1914 kB ( 0%) ggc
 trivially dead code   :   1.82 ( 1%) usr   0.00 ( 0%) sys   1.85 ( 1%) wall   
   0 kB ( 0%) ggc
 life analysis         :   6.33 ( 3%) usr   0.00 ( 0%) sys   6.38 ( 3%) wall  
12971 kB ( 1%) ggc
 life info update      :   1.23 ( 1%) usr   0.00 ( 0%) sys   1.24 ( 1%) wall   
 782 kB ( 0%) ggc
 alias analysis        :   2.87 ( 1%) usr   0.00 ( 0%) sys   2.94 ( 1%) wall  
19497 kB ( 1%) ggc
 register scan         :   1.29 ( 1%) usr   0.00 ( 0%) sys   1.34 ( 1%) wall   
  50 kB ( 0%) ggc
 rebuild jump labels   :   0.44 ( 0%) usr   0.00 ( 0%) sys   0.49 ( 0%) wall   
   0 kB ( 0%) ggc
 preprocessing         :   0.09 ( 0%) usr   0.03 ( 1%) sys   0.15 ( 0%) wall   
1293 kB ( 0%) ggc
 parser                :   1.14 ( 1%) usr   0.25 ( 6%) sys   1.34 ( 1%) wall  
97198 kB ( 7%) ggc
 name lookup           :   0.33 ( 0%) usr   0.14 ( 3%) sys   0.41 ( 0%) wall  
13536 kB ( 1%) ggc
 inline heuristics     :   5.87 ( 3%) usr   0.04 ( 1%) sys   5.91 ( 3%) wall  
20103 kB ( 1%) ggc
 integration           :  24.24 (11%) usr   0.17 ( 4%) sys  24.41 (11%) wall 
387997 kB (27%) ggc
 tree gimplify         :   0.24 ( 0%) usr   0.00 ( 0%) sys   0.31 ( 0%) wall  
10383 kB ( 1%) ggc
 tree eh               :   0.64 ( 0%) usr   0.05 ( 1%) sys   0.72 ( 0%) wall  
35363 kB ( 3%) ggc
 tree CFG construction :   0.24 ( 0%) usr   0.08 ( 2%) sys   0.29 ( 0%) wall  
40040 kB ( 3%) ggc
 tree CFG cleanup      :   5.55 ( 3%) usr   0.01 ( 0%) sys   5.59 ( 3%) wall  
13859 kB ( 1%) ggc
 tree VRP              :   2.37 ( 1%) usr   0.06 ( 1%) sys   2.38 ( 1%) wall  
10668 kB ( 1%) ggc
 tree copy propagation :   4.10 ( 2%) usr   0.17 ( 4%) sys   4.33 ( 2%) wall   
 571 kB ( 0%) ggc
 tree store copy prop  :   0.93 ( 0%) usr   0.03 ( 1%) sys   0.93 ( 0%) wall   
 116 kB ( 0%) ggc
 tree find ref. vars   :   0.55 ( 0%) usr   0.03 ( 1%) sys   0.58 ( 0%) wall  
45155 kB ( 3%) ggc
 tree PTA              :   6.25 ( 3%) usr   0.06 ( 1%) sys   6.35 ( 3%) wall  
18646 kB ( 1%) ggc
 tree alias analysis   :   9.24 ( 4%) usr   0.32 ( 8%) sys   9.74 ( 4%) wall  
35335 kB ( 3%) ggc
 tree PHI insertion    :  10.35 ( 5%) usr   0.03 ( 1%) sys  10.40 ( 5%) wall  
15152 kB ( 1%) ggc
 tree SSA rewrite      :   3.80 ( 2%) usr   0.06 ( 1%) sys   3.80 ( 2%) wall  
76957 kB ( 5%) ggc
 tree SSA other        :   0.70 ( 0%) usr   0.15 ( 4%) sys   0.83 ( 0%) wall   
 231 kB ( 0%) ggc
 tree SSA incremental  :  10.92 ( 5%) usr   0.03 ( 1%) sys  10.94 ( 5%) wall  
13942 kB ( 1%) ggc
 tree operand scan     :   5.05 ( 2%) usr   0.45 (11%) sys   5.22 ( 2%) wall  
43681 kB ( 3%) ggc
 dominator optimization:  12.79 ( 6%) usr   0.06 ( 1%) sys  12.81 ( 6%) wall 
125643 kB ( 9%) ggc
 tree SRA              :   0.48 ( 0%) usr   0.00 ( 0%) sys   0.46 ( 0%) wall   
6695 kB ( 0%) ggc
 tree STORE-CCP        :   0.91 ( 0%) usr   0.01 ( 0%) sys   0.94 ( 0%) wall   
 188 kB ( 0%) ggc
 tree CCP              :   1.42 ( 1%) usr   0.01 ( 0%) sys   1.48 ( 1%) wall   
3277 kB ( 0%) ggc
 tree split crit edges :   0.15 ( 0%) usr   0.01 ( 0%) sys   0.14 ( 0%) wall  
13889 kB ( 1%) ggc
 tree reassociation    :   0.18 ( 0%) usr   0.00 ( 0%) sys   0.17 ( 0%) wall   
   0 kB ( 0%) ggc
 tree PRE              :   2.15 ( 1%) usr   0.58 (14%) sys   2.78 ( 1%) wall   
9052 kB ( 1%) ggc
 tree FRE              :   3.13 ( 1%) usr   0.52 (12%) sys   3.58 ( 2%) wall  
26639 kB ( 2%) ggc
 tree code sinking     :   0.64 ( 0%) usr   0.04 ( 1%) sys   0.66 ( 0%) wall   
  88 kB ( 0%) ggc
 tree linearize phis   :   0.13 ( 0%) usr   0.00 ( 0%) sys   0.12 ( 0%) wall   
   2 kB ( 0%) ggc
 tree forward propagate:   0.30 ( 0%) usr   0.00 ( 0%) sys   0.40 ( 0%) wall   
4303 kB ( 0%) ggc
 tree conservative DCE :   2.70 ( 1%) usr   0.07 ( 2%) sys   2.80 ( 1%) wall   
   0 kB ( 0%) ggc
 tree aggressive DCE   :   0.85 ( 0%) usr   0.00 ( 0%) sys   0.85 ( 0%) wall   
   0 kB ( 0%) ggc
 tree DSE              :   0.93 ( 0%) usr   0.00 ( 0%) sys   0.92 ( 0%) wall   
 589 kB ( 0%) ggc
 PHI merge             :   0.05 ( 0%) usr   0.00 ( 0%) sys   0.08 ( 0%) wall   
 251 kB ( 0%) ggc
 tree loop bounds      :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.00 ( 0%) wall   
 185 kB ( 0%) ggc
 loop invariant motion :   0.10 ( 0%) usr   0.00 ( 0%) sys   0.10 ( 0%) wall   
   0 kB ( 0%) ggc
 tree canonical iv     :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.00 ( 0%) wall   
 151 kB ( 0%) ggc
 scev constant prop    :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall   
  60 kB ( 0%) ggc
 tree iv optimization  :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall   
 635 kB ( 0%) ggc
 tree loop init        :   0.54 ( 0%) usr   0.00 ( 0%) sys   0.51 ( 0%) wall   
   5 kB ( 0%) ggc
 tree copy headers     :   0.20 ( 0%) usr   0.00 ( 0%) sys   0.22 ( 0%) wall   
 851 kB ( 0%) ggc
 tree SSA uncprop      :   0.17 ( 0%) usr   0.00 ( 0%) sys   0.17 ( 0%) wall   
   0 kB ( 0%) ggc
 tree SSA to normal    :   2.10 ( 1%) usr   0.03 ( 1%) sys   2.14 ( 1%) wall   
4498 kB ( 0%) ggc
 tree rename SSA copies:   0.50 ( 0%) usr   0.07 ( 2%) sys   0.57 ( 0%) wall   
   0 kB ( 0%) ggc
 dominance frontiers   :  13.39 ( 6%) usr   0.00 ( 0%) sys  13.37 ( 6%) wall   
   0 kB ( 0%) ggc
 control dependences   :   0.16 ( 0%) usr   0.00 ( 0%) sys   0.16 ( 0%) wall   
   0 kB ( 0%) ggc
 expand                :   8.24 ( 4%) usr   0.06 ( 1%) sys   8.26 ( 4%) wall 
146387 kB (10%) ggc
 varconst              :   0.07 ( 0%) usr   0.00 ( 0%) sys   0.10 ( 0%) wall   
 169 kB ( 0%) ggc
 jump                  :   0.70 ( 0%) usr   0.01 ( 0%) sys   0.66 ( 0%) wall  
14072 kB ( 1%) ggc
 CSE                   :   3.68 ( 2%) usr   0.00 ( 0%) sys   3.63 ( 2%) wall   
6495 kB ( 0%) ggc
 loop analysis         :   1.12 ( 1%) usr   0.02 ( 0%) sys   1.20 ( 1%) wall   
7989 kB ( 1%) ggc
 global CSE            :   0.03 ( 0%) usr   0.02 ( 0%) sys   0.01 ( 0%) wall   
   0 kB ( 0%) ggc
 CPROP 1               :   0.16 ( 0%) usr   0.00 ( 0%) sys   0.17 ( 0%) wall   
 874 kB ( 0%) ggc
 PRE                   :   0.15 ( 0%) usr   0.02 ( 0%) sys   0.16 ( 0%) wall   
 185 kB ( 0%) ggc
 CPROP 2               :   0.15 ( 0%) usr   0.00 ( 0%) sys   0.16 ( 0%) wall   
 395 kB ( 0%) ggc
 bypass jumps          :   0.14 ( 0%) usr   0.00 ( 0%) sys   0.16 ( 0%) wall   
 356 kB ( 0%) ggc
 CSE 2                 :   1.79 ( 1%) usr   0.00 ( 0%) sys   1.76 ( 1%) wall   
1696 kB ( 0%) ggc
 branch prediction     :   1.60 ( 1%) usr   0.00 ( 0%) sys   1.67 ( 1%) wall   
2539 kB ( 0%) ggc
 flow analysis         :   0.25 ( 0%) usr   0.00 ( 0%) sys   0.26 ( 0%) wall   
   0 kB ( 0%) ggc
 combiner              :   1.33 ( 1%) usr   0.02 ( 0%) sys   1.36 ( 1%) wall   
3503 kB ( 0%) ggc
 if-conversion         :   0.80 ( 0%) usr   0.00 ( 0%) sys   0.77 ( 0%) wall   
 745 kB ( 0%) ggc
 regmove               :   1.01 ( 0%) usr   0.00 ( 0%) sys   0.99 ( 0%) wall   
  31 kB ( 0%) ggc
 mode switching        :   0.00 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall   
   0 kB ( 0%) ggc
 local alloc           :   2.02 ( 1%) usr   0.03 ( 1%) sys   2.07 ( 1%) wall   
4515 kB ( 0%) ggc
 global alloc          :   7.72 ( 4%) usr   0.08 ( 2%) sys   7.75 ( 4%) wall  
29349 kB ( 2%) ggc
 reload CSE regs       :  17.57 ( 8%) usr   0.01 ( 0%) sys  17.60 ( 8%) wall  
15295 kB ( 1%) ggc
 flow 2                :   0.45 ( 0%) usr   0.00 ( 0%) sys   0.40 ( 0%) wall   
2936 kB ( 0%) ggc
 if-conversion 2       :   0.42 ( 0%) usr   0.00 ( 0%) sys   0.39 ( 0%) wall   
   0 kB ( 0%) ggc
 peephole 2            :   0.40 ( 0%) usr   0.00 ( 0%) sys   0.43 ( 0%) wall   
 293 kB ( 0%) ggc
 rename registers      :   0.60 ( 0%) usr   0.06 ( 1%) sys   0.66 ( 0%) wall   
  34 kB ( 0%) ggc
 scheduling 2          :   2.48 ( 1%) usr   0.06 ( 1%) sys   2.57 ( 1%) wall  
26856 kB ( 2%) ggc
 machine dep reorg     :   0.40 ( 0%) usr   0.00 ( 0%) sys   0.40 ( 0%) wall   
 536 kB ( 0%) ggc
 reorder blocks        :   0.72 ( 0%) usr   0.00 ( 0%) sys   0.70 ( 0%) wall  
10564 kB ( 1%) ggc
 final                 :   1.58 ( 1%) usr   0.01 ( 0%) sys   1.58 ( 1%) wall   
3855 kB ( 0%) ggc
 TOTAL                 : 215.82             4.16           220.06           
1413094 kB


-- 


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


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

* [Bug middle-end/12392] very long optimized compile
  2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
                   ` (3 preceding siblings ...)
  2005-07-25  3:00 ` pinskia at gcc dot gnu dot org
@ 2005-09-18 19:40 ` pinskia at gcc dot gnu dot org
  2005-09-18 19:52 ` rguenth at gcc dot gnu dot org
  2005-09-18 19:57 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-18 19:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-18 19:40 -------
at -O1 on the mainline, we use over 1GB of memory.

-- 


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


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

* [Bug middle-end/12392] very long optimized compile
  2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
                   ` (2 preceding siblings ...)
  2005-07-25  2:06 ` pinskia at gcc dot gnu dot org
@ 2005-07-25  3:00 ` pinskia at gcc dot gnu dot org
  2005-09-18 19:40 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-25  3:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-25 02:53 -------
at -O1:
tree-inline.c:1114 (setup_one_parameter)            4402512: 0.3%          0: 0.0%          0: 0.0%          0: 
0.0%     122292
gimple-low.c:529 (record_vars)                      4410336: 0.3%          0: 0.0%          0: 0.0%          0: 0.0%     
183764
cfgrtl.c:3079 (init_rtl_bb_info)                    5156316: 0.3%          0: 0.0%          0: 0.0%     572924: 0.3%     
143231
tree-dfa.c:605 (referenced_var_insert)              5517296: 0.4%          0: 0.0%          0: 0.0%          0: 0.0%     
689662
tree-ssa-alias.c:2027 (get_ptr_info)                5607720: 0.4%          0: 0.0%          0: 0.0%          0: 0.0%     
467310
genrtl.c:349 (gen_rtx_fmt_i00)                      6395728: 0.4%          0: 0.0%     243072: 0.6%          0: 
0.0%     414925
tree-ssa-dom.c:2713 (record_equivalences_from_st    6769728: 0.4%          0: 0.0%          0: 0.0%          
0: 0.0%     188048
tree-vn.c:69 (make_value_handle)                    7638648: 0.5%          0: 0.0%          0: 0.0%          0: 0.0%     
318277
gimplify.c:337 (create_tmp_var_raw)                 7022976: 0.5%          0: 0.0%     660096: 1.7%          0: 
0.0%      80032
emit-rtl.c:3303 (make_jump_insn_raw)                7961520: 0.5%          0: 0.0%          0: 0.0%    1061536: 
0.5%     132692
tree-inline.c:2026 (expand_call_inline)             6720660: 0.4%          0: 0.0%    1598820: 4.0%    
1109264: 0.5%     138658
bitmap.c:256 (bitmap_gc_alloc)                      8356064: 0.5%          0: 0.0%          0: 0.0%          0: 0.0%     
522254
tree-ssa-dom.c:1435 (build_and_record_new_cond)     8475300: 0.6%          0: 0.0%          0: 0.0%          
0: 0.0%     235425
tree-phinodes.c:156 (allocate_phi_node)             8808280: 0.6%          0: 0.0%          0: 0.0%      35928: 
0.0%      53093
rtl.c:249 (copy_rtx)                                9387708: 0.6%          0: 0.0%          0: 0.0%          0: 0.0%     
815316
varray.c:141 (varray_init)                          9915332: 0.6%     481852: 0.2%     370040: 0.9%    1646296: 
0.7%     116380
tree-iterator.c:47 (alloc_stmt_list)               11277432: 0.7%          0: 0.0%      33024: 0.1%          0: 0.0%     
471269
tree-inline.c:2115 (expand_call_inline)            11455320: 0.7%          0: 0.0%          0: 0.0%          0: 0.0%     
477305
bitmap.c:137 (bitmap_element_allocate)             12138192: 0.8%          0: 0.0%          0: 0.0%    
1348688: 0.6%     337172
integrate.c:107 (copy_decl_for_inlining)           10045152: 0.7%          0: 0.0%    2254752: 5.7%          0: 
0.0%     128124
ggc-common.c:193 (ggc_calloc)                      11854012: 0.8%    8921200: 4.4%     951568: 2.4%    
1855448: 0.8%       1989
cfg.c:211 (connect_dest)                           13400200: 0.9%     319208: 0.2%          0: 0.0%     122512: 
0.1%     551052
cfg.c:202 (connect_src)                            13414968: 0.9%          0: 0.0%          0: 0.0%          0: 0.0%     
558957
gimplify.c:293 (create_artificial_label)           15505400: 1.0%          0: 0.0%          0: 0.0%          0: 0.0%     
155054
emit-rtl.c:3271 (make_insn_raw)                    16349680: 1.1%          0: 0.0%          0: 0.0%          0: 0.0%     
408742
cgraph.c:168 (cgraph_create_node)                  16722960: 1.1%          0: 0.0%      18480: 0.0%    
1116096: 0.5%     139512
tree-dfa.c:198 (create_tree_ann)                   19402916: 1.3%          0: 0.0%       3432: 0.0%          0: 0.0%     
373199
genrtl.c:17 (gen_rtx_fmt_ee)                       19784544: 1.3%          0: 0.0%      28836: 0.1%          0: 0.0%    
1651115
cgraph.c:289 (cgraph_create_edge)                  21175504: 1.4%          0: 0.0%          0: 0.0%    1512536: 
0.7%     378134
tree-inline.c:421 (remap_block)                    18648780: 1.2%          0: 0.0%    4599960:11.6%    
3099832: 1.4%     387479
varray.c:174 (varray_grow)                         30049364: 2.0%   29294196:14.5%     323700: 0.8%   
13783580: 6.2%       3892
tree-iterator.c:165 (tsi_link_after)               31498620: 2.0%          0: 0.0%      49488: 0.1%          0: 0.0%    
2629009
convert.c:457 (convert_to_integer)                 32215072: 2.1%          0: 0.0%         32: 0.0%          0: 0.0%    
1006722
tree-ssanames.c:147 (make_ssa_name)                33333404: 2.2%          0: 0.0%    5705492:14.4%          
0: 0.0%     750748
tree-dfa.c:175 (create_stmt_ann)                   56146220: 3.7%   17495556: 8.7%         52: 0.0%          0: 
0.0%    1416189
cfg.c:135 (alloc_block)                            58116344: 3.8%          0: 0.0%          0: 0.0%    8940976: 4.0%     
558811
integrate.c:115 (copy_decl_for_inlining)           52512932: 3.4%          0: 0.0%    6518784:16.5%          0: 
0.0%     609815
tree-inline.c:2380 (copy_tree_r)                   73114672: 4.8%          0: 0.0%        140: 0.0%     438288: 
0.2%    2164254
tree-inline.c:879 (copy_cfg_body)                  99835920: 6.5%          0: 0.0%          0: 0.0%   28841488:
12.9%     138661
except.c:636 (collect_eh_region_array)            646781448:42.1%          0: 0.0%          0: 0.0%  
141682844:63.3%      11016




-- 


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


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

* [Bug middle-end/12392] very long optimized compile
  2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
  2004-09-08  5:58 ` [Bug middle-end/12392] " pinskia at gcc dot gnu dot org
  2004-11-21  4:53 ` pinskia at gcc dot gnu dot org
@ 2005-07-25  2:06 ` pinskia at gcc dot gnu dot org
  2005-07-25  3:00 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-25  2:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-25 02:01 -------
At -O0:
function.c:3782 (allocate_struct_function)           825840: 0.6%          0: 0.0%    1059120: 7.2%     
544544: 3.8%       2618
cfg.c:211 (connect_dest)                            1989960: 1.5%     146112: 0.3%          0: 0.0%      74328: 
0.5%      77610
emit-rtl.c:3303 (make_jump_insn_raw)                2024820: 1.5%          0: 0.0%          0: 0.0%     269976: 
1.9%      33747
cfgrtl.c:3079 (init_rtl_bb_info)                    2040984: 1.5%          0: 0.0%          0: 0.0%     226776: 1.6%      
56694
genrtl.c:379 (gen_rtx_fmt_e0)                       2001048: 1.5%          0: 0.0%      43056: 0.3%          0: 0.0%     
170342
emit-rtl.c:3324 (make_call_insn_raw)                2076060: 1.6%          0: 0.0%          0: 0.0%     276808: 
1.9%      34601
cgraph.c:289 (cgraph_create_edge)                   2249408: 1.7%          0: 0.0%          0: 0.0%     160672: 
1.1%      40168
tree-iterator.c:165 (tsi_link_after)                2503236: 1.9%          0: 0.0%      49488: 0.3%          0: 0.0%     
212727
ggc-common.c:193 (ggc_calloc)                       1755288: 1.3%     641100: 1.4%     823352: 5.6%     
148744: 1.0%       4507
varray.c:141 (varray_init)                          3024252: 2.3%      17624: 0.0%        400: 0.0%     521460: 
3.6%       2724
gimplify.c:337 (create_tmp_var_raw)                 3187680: 2.4%          0: 0.0%      65952: 0.5%          0: 
0.0%      33892
genrtl.c:349 (gen_rtx_fmt_i00)                      3437856: 2.6%          0: 0.0%      32336: 0.2%          0: 0.0%     
216887
varray.c:174 (varray_grow)                          4153452: 3.1%    4096304: 9.0%     270608: 1.8%    
1766316:12.2%        244
gimplify.c:293 (create_artificial_label)            4686600: 3.5%          0: 0.0%          0: 0.0%          0: 0.0%      
46866
tree-inline.c:2380 (copy_tree_r)                    5885104: 4.4%          0: 0.0%        140: 0.0%      33832: 
0.2%     177906
rtl.c:249 (copy_rtx)                                5910744: 4.5%          0: 0.0%          0: 0.0%          0: 0.0%     
533747
cfg.c:135 (alloc_block)                             8026200: 6.1%          0: 0.0%          0: 0.0%    1234800: 8.5%      
77175
emit-rtl.c:3271 (make_insn_raw)                     8657000: 6.5%          0: 0.0%          0: 0.0%          0: 0.0%     
216425
genrtl.c:17 (gen_rtx_fmt_ee)                        9717744: 7.3%          0: 0.0%      16596: 0.1%          0: 0.0%     
811195



-- 


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


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

* [Bug middle-end/12392] very long optimized compile
  2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
  2004-09-08  5:58 ` [Bug middle-end/12392] " pinskia at gcc dot gnu dot org
@ 2004-11-21  4:53 ` pinskia at gcc dot gnu dot org
  2005-07-25  2:06 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-21  4:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-21 04:53 -------
With the mainline on ppc-darwin we have a huge problem in the scheduler:
 scheduling            : 131.99 (44%) usr  52.35 (75%) sys 231.63 (46%) wall

PRE (GCSE) is also a problem too:
 PRE                   :  38.78 (13%) usr   1.82 ( 3%) sys  73.43 (15%) wall

For the scheduler at least we have linked lists which we allocate a lot of.

-- 


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


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

* [Bug middle-end/12392] very long optimized compile
  2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
@ 2004-09-08  5:58 ` pinskia at gcc dot gnu dot org
  2004-11-21  4:53 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-08  5:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-08 05:58 -------
On the mainline (without checking disabled so we cannot compare it to 3.4.0 or another version and 
maybe this is also not the right timings for this test without checking):
 global alloc          :  19.38 (37%) usr   0.29 (11%) sys  39.92 (36%) wall
 expand                :   6.90 (13%) usr   0.06 ( 2%) sys  14.47 (13%) wall


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-26 19:10:47         |2004-09-08 05:58:25
               date|                            |


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


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

end of thread, other threads:[~2022-07-13 13:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12392-4@http.gcc.gnu.org/bugzilla/>
2022-07-13 13:17 ` [Bug middle-end/12392] very long optimized compile rguenth at gcc dot gnu.org
     [not found] <bug-12392-7015@http.gcc.gnu.org/bugzilla/>
2007-09-20 13:57 ` rguenth at gcc dot gnu dot org
2009-02-22 14:15 ` steven at gcc dot gnu dot org
2009-02-23 13:43 ` rguenth at gcc dot gnu dot org
2009-02-23 14:17 ` rguenth at gcc dot gnu dot org
2009-02-23 17:47 ` stevenb dot gcc at gmail dot com
2009-03-29 18:48 ` hubicka at gcc dot gnu dot org
2009-09-18  9:46 ` rguenth at gcc dot gnu dot org
2009-09-18 15:52 ` jamborm at gcc dot gnu dot org
2009-10-01 11:48 ` jamborm at gcc dot gnu dot org
2010-06-24  4:02 ` aoliva at gcc dot gnu dot org
2010-06-24  8:43 ` rguenth at gcc dot gnu dot org
2010-06-24 17:58 ` aoliva at gcc dot gnu dot org
2003-09-24 18:10 [Bug c++/12392] New: " john dot skinner at med dot ge dot com
2004-09-08  5:58 ` [Bug middle-end/12392] " pinskia at gcc dot gnu dot org
2004-11-21  4:53 ` pinskia at gcc dot gnu dot org
2005-07-25  2:06 ` pinskia at gcc dot gnu dot org
2005-07-25  3:00 ` pinskia at gcc dot gnu dot org
2005-09-18 19:40 ` pinskia at gcc dot gnu dot org
2005-09-18 19:52 ` rguenth at gcc dot gnu dot org
2005-09-18 19:57 ` rguenth 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).