This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/7344: performance regression on huge case statements
- From: Jan Hubicka <jh at suse dot cz>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: gcc-gnats at gcc dot gnu dot org, jh at suse dot cz, gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Oct 2002 15:32:09 +0200
- Subject: Re: c/7344: performance regression on huge case statements
- References: <3DAEBAE1.4070508@twcny.rr.com>
> 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.
Honza
>
> --Nathanael