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: Speedup CSE by 5%


> You are (of course) correct.  I've been working with gimple too much
> lately and needed a reminder of the annoyingly recursive nature of
> RTL.  Ugh.

I am currently timing bootstrap for a patch that introduces an iterator FOR_EACH_RTX. This manages its own stack and also gets rid of the recursive calls.

The part that I feel less confortable with is allocating the stack with alloca, but overall it is nice. I attach the patch for cse.c as a proof of concept.

Paolo


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