This is the mail archive of the gcc@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: A quick summary of gcc compilation speed from a political pointof view


Marc Espie <espie@nerim.net> writes:

> For what it's worth, I notice side_effects_p as being rather high there.
> Did someone try to provide an inlined version of the simple, non recursive
> part of it ? does that make any sense.

I don't know what you mean here...

> I'm also wondering about the `type' cases. I'll admit the letters might
> be nice for debug (e.g., #if DEBUG), but it would probably be more
> efficient to have simple, small codes. Judging from the number of switch()
> in gcc, those must take a larger amount of time, won't they ?

The TREE_CODE_CLASS letters?  That might be useful to try, but it
would be a huge patch ... are you interested in developing such?

> I also see make_node first filling a tmp node to get its size.
> Maybe retrieving a size from a code might be better ?

Yeah, good idea.  I am trying such a patch now.

zw


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