This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tree-ssa memory and compile-time regressions


On Thu, 8 Jan 2004, Daniel Berlin wrote:

>
> On Jan 8, 2004, at 10:19 AM, Richard Guenther wrote:
>
> > On Thu, 8 Jan 2004, Diego Novillo wrote:
> >
> >> On Thu, 2004-01-08 at 09:53, Richard Guenther wrote:
> >>
> >>> -O0 220MB, 0m17s
> >>> -O1 260MB, 0m24s
> >>> -O2 800MB, 7m35s  (-ftime-report on a faster machine attached below)
> >>> -O2 -fno-unit-at-a-time 260MB, 0m28s
> >>>
> >> Hmm, based on what the time report says, could you try with
> >> -fno-tree-pre?
> >
> > loop times go up the roof then, but the tree stuff looks ok.
>
> Is this on your machine or the faster one?
> I'm trying to compare times :P

This is on my machine ;) On the faster machine it becomes


Execution times (seconds)
 garbage collection    :   0.91 ( 3%) usr   0.01 ( 1%) sys   0.92 ( 3%) wall
 callgraph construction:   0.13 ( 0%) usr   0.00 ( 0%) sys   0.13 ( 0%) wall
 callgraph optimization:   0.12 ( 0%) usr   0.01 ( 1%) sys   0.13 ( 0%) wall
 cfg construction      :   0.08 ( 0%) usr   0.01 ( 1%) sys   0.09 ( 0%) wall
 cfg cleanup           :   0.19 ( 1%) usr   0.02 ( 1%) sys   0.21 ( 1%) wall
 trivially dead code   :   0.28 ( 1%) usr   0.00 ( 0%) sys   0.28 ( 1%) wall
 life analysis         :   1.04 ( 3%) usr   0.00 ( 0%) sys   1.04 ( 3%) wall
 life info update      :   0.48 ( 1%) usr   0.00 ( 0%) sys   0.48 ( 1%) wall
 alias analysis        :   0.45 ( 1%) usr   0.02 ( 1%) sys   0.47 ( 1%) wall
 register scan         :   0.13 ( 0%) usr   0.00 ( 0%) sys   0.13 ( 0%) wall
 rebuild jump labels   :   0.06 ( 0%) usr   0.00 ( 0%) sys   0.06 ( 0%) wall
 preprocessing         :   0.38 ( 1%) usr   0.14 ( 7%) sys   0.52 ( 1%) wall
 parser                :   3.77 (11%) usr   0.70 (35%) sys   4.48 (13%) wall
 name lookup           :   2.23 ( 7%) usr   0.70 (35%) sys   2.96 ( 8%) wall
 integration           :   3.95 (12%) usr   0.01 ( 1%) sys   3.96 (11%) wall
 tree gimplify         :   0.52 ( 2%) usr   0.01 ( 1%) sys   0.53 ( 1%) wall
 tree eh               :   0.05 ( 0%) usr   0.00 ( 0%) sys   0.05 ( 0%) wall
 tree CFG construction :   0.08 ( 0%) usr   0.00 ( 0%) sys   0.08 ( 0%) wall
 tree CFG cleanup      :   0.25 ( 1%) usr   0.00 ( 0%) sys   0.25 ( 1%) wall
 tree alias analysis   :   0.14 ( 0%) usr   0.00 ( 0%) sys   0.14 ( 0%) wall
 tree PHI insertion    :   0.03 ( 0%) usr   0.00 ( 0%) sys   0.03 ( 0%) wall
 tree SSA rewrite      :   0.23 ( 1%) usr   0.01 ( 1%) sys   0.24 ( 1%) wall
 tree SSA other        :   0.46 ( 1%) usr   0.02 ( 1%) sys   0.48 ( 1%) wall
 dominator optimization:   1.34 ( 4%) usr   0.03 ( 2%) sys   1.37 ( 4%) wall
 tree SRA              :   0.06 ( 0%) usr   0.00 ( 0%) sys   0.06 ( 0%) wall
 tree CCP              :   0.15 ( 0%) usr   0.00 ( 0%) sys   0.15 ( 0%) wall
 tree DCE              :   0.21 ( 1%) usr   0.00 ( 0%) sys   0.21 ( 1%) wall
 tree SSA to normal    :   0.41 ( 1%) usr   0.00 ( 0%) sys   0.41 ( 1%) wall
 callgraph verifier    :   1.87 ( 6%) usr   0.02 ( 1%) sys   1.89 ( 5%) wall
 dominance frontiers   :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 expand                :   1.17 ( 4%) usr   0.05 ( 3%) sys   1.24 ( 4%) wall
 varconst              :   0.05 ( 0%) usr   0.00 ( 0%) sys   0.05 ( 0%) wall
 jump                  :   0.18 ( 1%) usr   0.03 ( 2%) sys   0.23 ( 1%) wall
 CSE                   :   1.34 ( 4%) usr   0.00 ( 0%) sys   1.34 ( 4%) wall
 global CSE            :   4.40 (13%) usr   0.04 ( 2%) sys   4.44 (13%) wall
 loop analysis         :   0.75 ( 2%) usr   0.07 ( 3%) sys   0.82 ( 2%) wall
 bypass jumps          :   0.24 ( 1%) usr   0.02 ( 1%) sys   0.26 ( 1%) wall
 CSE 2                 :   0.71 ( 2%) usr   0.00 ( 0%) sys   0.71 ( 2%) wall
 branch prediction     :   0.41 ( 1%) usr   0.00 ( 0%) sys   0.41 ( 1%) wall
 flow analysis         :   0.01 ( 0%) usr   0.00 ( 0%) sys   0.01 ( 0%) wall
 combiner              :   0.34 ( 1%) usr   0.01 ( 1%) sys   0.36 ( 1%) wall
 if-conversion         :   0.03 ( 0%) usr   0.00 ( 0%) sys   0.03 ( 0%) wall
 regmove               :   0.13 ( 0%) usr   0.00 ( 0%) sys   0.14 ( 0%) wall
 local alloc           :   0.49 ( 1%) usr   0.00 ( 0%) sys   0.49 ( 1%) wall
 global alloc          :   1.00 ( 3%) usr   0.02 ( 1%) sys   1.03 ( 3%) wall
 reload CSE regs       :   0.39 ( 1%) usr   0.00 ( 0%) sys   0.39 ( 1%) wall
 flow 2                :   0.03 ( 0%) usr   0.00 ( 0%) sys   0.04 ( 0%) wall
 if-conversion 2       :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall
 peephole 2            :   0.10 ( 0%) usr   0.00 ( 0%) sys   0.12 ( 0%) wall
 rename registers      :   0.12 ( 0%) usr   0.00 ( 0%) sys   0.12 ( 0%) wall
 scheduling 2          :   0.52 ( 2%) usr   0.02 ( 1%) sys   0.55 ( 2%) wall
 reorder blocks        :   0.05 ( 0%) usr   0.00 ( 0%) sys   0.05 ( 0%) wall
 shorten branches      :   0.08 ( 0%) usr   0.00 ( 0%) sys   0.08 ( 0%) wall
 reg stack             :   0.02 ( 0%) usr   0.00 ( 0%) sys   0.02 ( 0%) wall
 final                 :   0.15 ( 0%) usr   0.01 ( 1%) sys   0.16 ( 0%) wall
 symout                :   0.00 ( 0%) usr   0.01 ( 1%) sys   0.01 ( 0%) wall
 rest of compilation   :   0.31 ( 1%) usr   0.01 ( 1%) sys   0.32 ( 1%) wall
 TOTAL                 :  33.06             2.00            35.41


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]