This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: One more global.c speedup
- To: law at cygnus dot com
- Subject: Re: One more global.c speedup
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Thu, 11 Nov 1999 23:06:35 -0500 (EST)
- Cc: lucier at math dot purdue dot edu (Brad Lucier), gcc-patches at gcc dot gnu dot org
> > Perhaps now it's time to work on jump :-).
> I know what's going on in delete_from_jump_chain. It's pretty obvious. We
> For each jump, we have a list of other unconditional jumps which reach the
> same label. Those lists are long because of the kind of code you are writing.
I don't quite understand. The routine is one large switch statement, with
many labels; it doesn't use computed goto's. There are really only two labels
that have a lot of jumps to them, one just before the switch statement for
internal jumps, and one at the end before the state cleanup and exit code;
all the other labels have only a "few" (I'd guess < 20) jumps to them.
Will this type of code cause this effect in jump.c?
Brad