This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Timing information for CFG manipulations
- To: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>
- Subject: Re: Timing information for CFG manipulations
- From: Jan Hubicka <jh at suse dot cz>
- Date: Wed, 17 Oct 2001 23:15:34 +0200
- Cc: Brad Lucier <lucier at math dot purdue dot edu>, jh at suse dot cz, gcc-patches at gcc dot gnu dot org
- References: <200110171412.aa07965@gremlin-relay.ics.uci.edu>
> Something is fishy with your results for 3.1 -O1
>
> [snip]
> > Here are 3.1 times without the profiling code and with the patch
> >
> > http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00792.html
> >
> > dino01% /u/lucier/local/gcc-3.1/lib/gcc-lib/i686-pc-linux-gnu/3.1/cc1 -fpic -fomit-frame-pointer -O1 -fno-math-errno -fno-strict-aliasing -mcpu=athlon -march=athlon _num.i
> >
> > [snip]
> > Execution times (seconds)
> > garbage collection : 0.67 ( 0%) usr 0.00 ( 0%) sys 0.72 ( 0%) wall
> > cfg construction : 6.37 ( 4%) usr 0.26 ( 6%) sys 6.66 ( 4%) wall
> > cfg cleanup : 33.59 (21%) usr 0.01 ( 0%) sys 33.69 (20%) wall
> > preprocessing : 0.17 ( 0%) usr 0.11 ( 2%) sys 0.44 ( 0%) wall
> > lexical analysis : 0.29 ( 0%) usr 0.22 ( 5%) sys 0.53 ( 0%) wall
> > parser : 1.19 ( 1%) usr 0.15 ( 3%) sys 1.28 ( 1%) wall
> > varconst : 0.07 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall
> > jump : 0.63 ( 0%) usr 0.00 ( 0%) sys 0.66 ( 0%) wall
> > CSE : 0.72 ( 0%) usr 0.00 ( 0%) sys 0.69 ( 0%) wall
> > global CSE : 32.87 (21%) usr 0.57 (13%) sys 33.53 (20%) wall
> ^^^^^^^^^^^^^^^^^^^^^^
> gcse is not enabled when using -O1 !
It is not the gcse, but mode switching pass that for some purpose gets accounted as gcse.
I will send a patch to disambiugize it shortly once my other bootstraps complettes.
Honza
>