This is the mail archive of the
mailing list for the GCC project.
Re: Reorder some tree codes
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>
- Date: 20 Dec 2004 16:31:27 +0100
- Subject: Re: Reorder some tree codes
- Organization: Integrable Solutions
- References: <41C6CBA7.firstname.lastname@example.org>
Nathan Sidwell <email@example.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.