This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: flow speed regression [Re: How long should -O1 compiles take?]
- To: lucier at math dot purdue dot edu, rth at cygnus dot com
- Subject: Re: flow speed regression [Re: How long should -O1 compiles take?]
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Tue, 5 Oct 1999 17:16:52 -0500 (EST)
- Cc: law at cygnus dot com, gcc at gcc dot gnu dot org, hosking at cs dot purdue dot edu, feeley at iro dot umontreal dot ca, gcc-patches at gcc dot gnu dot org
Richard Henderson's flow patch made an enormous difference (thanks again):
Oct 5 Oct 4
gcc-2.96 gcc-2.96 gcc-2.95.1 egcs-1.1.2
parse: 8.070000 5.580000 5.460000 5.380000
jump: 3.940000 3.050000 3.000000 3.320000
cse: 5.390000 2.950000 2.810000 4.580000
loop: 0.010000 0.010000 0.010000 0.020000
flow: 16.960000 176.880000 177.050000 38.220000
combine: 4.560000 2.650000 2.410000 2.360000
local-alloc: 2.160000 1.550000 1.440000 1.360000
global-alloc: 103.490000 89.310000 102.680000 2.450000
flow2: 16.440000 177.160000 176.380000 N/A
dbranch: 1.900000 1.440000 1.330000 0.820000
shorten-branch: 0.180000 0.120000 0.110000 0.130000
final: 4.400000 4.130000 4.000000 0.700000
varconst: 0.010000 0.020000 0.010000 0.040000
user 171.64u 464.64u 476.67u 55.75u
system 2.86s 2.43s 2.19s 5.31s
Total: 2:54.50 7:47.49 8:00.20 1:01.59
The first column is today's gcc-2.96 with Richard's patch, compiled
with gcc-2.95.1. Unfortunately, compile times are still nearly three
times as long as with egcs-1.1.2.
Here are all the functions that took more than 2% of the CPU time in
a cc1 built with -pg:
% cumulative self self total
time seconds seconds calls ms/call ms/call name
25.9 35.03 35.03 3 11676.67 11681.52 prune_preferences [8]
18.1 59.54 24.51 internal_mcount [9]
7.4 69.60 10.06 46530 0.22 0.22 record_one_conflict [15]
7.3 79.41 9.81 3 3270.00 6528.56 build_insn_chain [10]
7.2 89.21 9.80 79647856 0.00 0.00 bitmap_bit_p [16]
3.6 94.04 4.83 6 805.00 1698.97 life_analysis_1 [13]
3.5 98.73 4.69 1187 3.95 3.95 find_reg [19]
2.4 101.94 3.21 6527894 0.00 0.00 bitmap_operation [25]
Brad