This is the mail archive of the
mailing list for the GCC project.
Re: PATCH [mainline] speed up comparing enums declared in multiple translation units
On Mar 9, 2004, at 13:29, Fariborz Jahanian wrote:
I had something like this before I did my new patch. It took hour and
one-half on my 2G G5 machine.
Note that saving comes not in speeding up type comparison, but avoid
repeat comparisons. This is
at least the case in mesa. With my patch, mesa built in 13 minutes
with a gcc built with -O0 -g.
I just tried this with -O3 -fdump-tree-all -funroll-loops -mcpu=G5
-fno-PIC and it took me
12 minutes to compile mesa that is with the tree-ssa as of last night,
I am going to try it
with the tree-ssa after my fix. (Note also I suspended the processor
during compiling and
was profiling using Shark at the point where it was taking all the time
so the times are
higher than they should be).