c/7344: performance regression on huge case statements

Jan Hubicka jh@suse.cz
Thu Oct 17 06:32:00 GMT 2002

> Jan, your patch of October 14 had the ChangeLog entries for predict.c 
> (can_predict_insn_p etc) and toplev.c (rest_of_compilation), but somehow 
> the actual files failed to get committed.  Either commit the files 
> (preferred) or remove the ChangeLog entry, please. :-)

Oops, I will commit that one.

> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7344
> Incidentally, with only the patch of October 11th (edge cache) the test 
> case still seems to take forever.  We'll see what happens once the patch 
> of October 14th (eliminating unnecessary queries) is in place; I expect 
> that to be more important based on your earlier numbers.

There is still bit too much time spent in crossjumping and branch
prediction.  I didn't have time to take a look at that yet, I will try
to find some later.

> --Nathanael

More information about the Gcc-bugs mailing list