[patch] tree-cfg.c: Reduce the amount of memory allocated in thread_jumps.
Kazu Hirata
kazu@cs.umass.edu
Thu Dec 2 16:40:00 GMT 2004
Hi Jeff,
> > * tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
> Approved.
Thanks.
> FWIW, I do want to get Zdenek's patch installed -- I just haven't
> had a chance to look closely at it yet.
I've improved his patch.
I cut down the time spent on searching for abnoraml edges, which cut
down the time spent on thread_jumps by as much as 60% on
insn-attrtab.c. Without this improvement, the new thread_jumps is
*slower* than the original on insn-attrtab.c.
Also, I modified his patch to take advantage of my O(1) PHI argumuent
look-up, which gave me an additional 2.5% speed-up.
Anyway, I'll hopefully post it either today or tomorrow.
Kazu Hirata
More information about the Gcc-patches
mailing list