--- Additional Comments From lucier at math dot purdue dot edu 2004-11-10
16:31 ---
Subject: Re: Tremendous increase in compile times for 3.4.1 with -mcpu=G5
The G5 time is cut in half from 3.4.*, but the G4 time is 4 times as
long (roughly).
I don't think this is "FIXED".
Or should I just open another PR?
Brad
[descartes:gcc/mainline/objdir] lucier%
/pkgs/gcc-mainline/libexec/gcc/powerpc-apple-darwin7.6.0/4.0.0/cc1
-mcpu=G4 -I../include -Wall -W -Wno-unused -O1 -fno-math-errno
-fschedule-insns2 -fno-trapping-math -fno-strict-aliasing
-fomit-frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H _num.i
___H__20___num
___init_proc
20___num
Execution times (seconds)
cfg construction : 0.07 ( 0%) usr 0.06 ( 0%) sys 0.14 ( 0%)
wall
cfg cleanup : 1.63 ( 2%) usr 0.03 ( 0%) sys 2.23 ( 2%)
wall
trivially dead code : 0.35 ( 1%) usr 0.00 ( 0%) sys 0.56 ( 0%)
wall
life analysis : 2.29 ( 3%) usr 0.92 ( 6%) sys 4.42 ( 4%)
wall
life info update : 0.73 ( 1%) usr 0.00 ( 0%) sys 1.07 ( 1%)
wall
alias analysis: 0.25 ( 0%) usr 0.00 ( 0%) sys 0.33 ( 0%)
wall
register scan : 0.16 ( 0%) usr 0.00 ( 0%) sys 0.19 ( 0%)
wall
rebuild jump labels : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%)
wall
preprocessing : 1.66 ( 3%) usr 2.69 (16%) sys 6.03 ( 5%)
wall
lexical analysis : 2.76 ( 4%) usr 5.50 (34%) sys 12.20 (10%)
wall
parser: 2.27 ( 3%) usr 2.45 (15%) sys 7.22 ( 6%)
wall
tree gimplify : 0.26 ( 0%) usr 0.02 ( 0%) sys 0.39 ( 0%)
wall
tree eh : 0.03 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%)
wall
tree CFG construction : 0.10 ( 0%) usr 0.03 ( 0%) sys 0.17 ( 0%)
wall
tree CFG cleanup : 0.55 ( 1%) usr 0.03 ( 0%) sys 0.80 ( 1%)
wall
tree find referenced vars: 0.05 ( 0%) usr 0.00 ( 0%) sys 0.07 (
0%) wall
tree PTA : 23.55 (36%) usr 0.18 ( 1%) sys 32.78 (28%)
wall
tree alias analysis : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.05 ( 0%)
wall
tree PHI insertion: 0.79 ( 1%) usr 0.31 ( 2%) sys 1.46 ( 1%)
wall
tree SSA rewrite : 2.08 ( 3%) usr 0.02 ( 0%) sys 3.17 ( 3%)
wall
tree SSA other: 2.37 ( 4%) usr 0.90 ( 6%) sys 4.40 ( 4%)
wall
tree operand scan : 0.71 ( 1%) usr 1.11 ( 7%) sys 2.76 ( 2%)
wall
dominator optimization: 4.21 ( 6%) usr 0.21 ( 1%) sys 6.41 ( 5%)
wall
tree CCP : 0.25 ( 0%) usr 0.01 ( 0%) sys 0.30 ( 0%)
wall
tree split crit edges : 0.21 ( 0%) usr 0.01 ( 0%) sys 0.32 ( 0%)
wall
tree PRE : 0.62 ( 1%) usr 0.10 ( 1%) sys 1.04 ( 1%)
wall
tree linearize phis : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%)
wall
tree forward propagate: 0.15 ( 0%) usr 0.01 ( 0%) sys 0.21 ( 0%)
wall
tree conservative DCE : 0.31 ( 0%) usr 0.00 ( 0%) sys 0.44 ( 0%)
wall
tree aggressive DCE : 0.12 ( 0%) usr 0.00 ( 0%) sys 0.20 ( 0%)
wall
tree DSE : 0.26 ( 0%) usr 0.00 ( 0%) sys 0.42 ( 0%)
wall
tree record loop bounds: 0.04 ( 0%) usr 0.01 ( 0%) sys 0.06 (
0%) wall
loop invariant motion : 0.16 ( 0%) usr 0.01 ( 0%) sys 0.28 ( 0%)
wall
tree canonical iv creation: 0.02 ( 0%) usr 0.00 ( 0%) sys 0.03 (
0%) wall
tree iv optimization : 0.26 ( 0%) usr 0.03 ( 0%) sys 0.36 ( 0%)
wall
tree copy headers : 0.26 ( 0%) usr 0.13 ( 1%) sys 0.50 ( 0%)
wall
tree SSA to normal: 2.41 ( 4%) usr 0.01 ( 0%) sys 3.56 ( 3%)
wall
tree rename SSA copies: 0.05 ( 0%) usr 0.01 ( 0%) sys 0.08 ( 0%)
wall
dominance frontiers : 0.13 ( 0%) usr 0.00 ( 0%) sys 0.18 ( 0%)
wall
expand: 1.61 ( 2%) usr 0.29 ( 2%) sys 2.56 ( 2%)
wall
varconst : 0.06 ( 0%) usr 0.00 ( 0%) sys 0.06 ( 0%)
wall
jump : 0.13 ( 0%) usr 0.00 ( 0%) sys 0.23 ( 0%)
wall
CSE : 0.41 ( 1%) usr 0.00 ( 0%) sys 0.52 ( 0%)
wall
loop analysis : 0.34 ( 1%) usr 0.09 ( 1%) sys 0.73 ( 1%)
wall
branch prediction : 0.54 ( 1%) usr 0.06 ( 0%) sys 0.86 ( 1%)
wall
flow analysis : 0.14 ( 0%) usr 0.05 ( 0%) sys 0.28 ( 0%)
wall
combiner : 0.68 ( 1%) usr 0.05 ( 0%) sys 1.09 ( 1%)
wall
if-conversion : 0.48 ( 1%) usr 0.02 ( 0%) sys 0.71 ( 1%)
wall
local alloc : 0.43 ( 1%) usr 0.03 ( 0%) sys 0.72 ( 1%)
wall
global alloc : 3.87 ( 6%) usr 0.59 ( 4%) sys 6.37 ( 5%)
wall
reload CSE regs : 0.57 ( 1%) usr 0.08 ( 0%) sys 0.90 ( 1%)
wall
flow 2: 0.20 ( 0%) usr 0.09 ( 1%) sys 0.43 ( 0%)
wall
if-conversion 2 : 0.14 ( 0%) usr 0.00 ( 0%) sys 0.19 ( 0%)
wall
rename registers : 3.12 ( 5%) usr 0.06 ( 0%) sys 4.71 ( 4%)
wall
scheduling 2 :