Make GCSE statistics more detailed

Steven Bosscher stevenb@suse.de
Mon Aug 9 16:20:00 GMT 2004


On Aug 09, 2004 04:35 PM, Roger Sayle <roger@eyesopen.com> wrote:
> You're missing the change to Makefile.in reflecting the dependency of
> gcse.o on $(TIMEVAR_H).

Whoops :-)

>  Ok for mainline with that change.

Thanks.

> If you have access to SPEC it might be useful to use your patch to
> update
> the statistics in the comment at the top of gcse.c:
> 
> >>   A study of spec92 using an unlimited number of passes:
> >>   [1 pass] = 1208 substitutions, [2] = 577, [3] = 202, [4] = 192,
> >> [5] = 83, [6] = 34, [7] = 17, [8] = 9, [9] = 4, [10] = 4, [11] = 2,
> >>   [12] = 2, [13] = 1, [15] = 1, [16] = 2, [41] = 1
> 
> I suspect that tree-ssa completely invalidates these statistics.

Hmm that's an interesting idea.  I'll try to redo this analysis
for a more recent SPEC.

Gr.
Steven




More information about the Gcc-patches mailing list