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: [pre-patch] stmt.c: case clustering, need help


> FTY I'm rewriting switch the expansion code such that the profile is
> preserved, this will go into cfgexpand.c.  Is there anything I need
> to take into account to avoid that our efforts conflict?

I don't know enough about that code to really answer that, but the
gist of my code is that the two chunks - emitting a decision tree and
emitting a jump table - are isolated, such that the latter can be
called from the former.  I didn't change the logic of the code, just
its location.  Well, aside from the little bit I needed to hook them
together.


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