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: Reorder some tree codes


Nathan Sidwell <nathan@codesourcery.com> writes:

| This patch reorders the _TYPE codes and a few others to allow
| range comparison to determine certain kinds of types.  This showed
| a 0.25% speed improvement on darwin, and a 2% text size reduction in cc1plus.

Hmm, this appears to me like a problem in the optimizers than with the
code.  How far shall we get the code base obfuscated just to have 0.x%
speed up on darwin or Qt build?  
I think this is the type of changes that I do not think worthwhile.
Mark has, in the past, convincingly and consistently argued that we'd
get better speed ups by improving algrithms and data structures used in
the compiler.  I tend to violently agree with him.  I don't know what
happen to that idea.

-- Gaby


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