This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] tree-cfg.c: Reduce the amount of memory allocated inthread_jumps.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]