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: Speed up some token processing


Nathan Sidwell <nathan@codesourcery.com> writes:

> This patch speeds up token processing by moving some duplicated code
> into a single switch statement.  It shows a surprisingly good
> speedup of the Qt library of 1.5%.

I'm seeing testsuite failures on powerpc-linux with this patch (with
and without your ammendments to the testsuite):

Running /home/bje/source/gcc-mainline/gcc/testsuite/gcc.dg/cpp/cpp.exp ...
FAIL: gcc.dg/cpp/direct2.c  (test for errors, line 15)
FAIL: gcc.dg/cpp/direct2.c (test for excess errors)
FAIL: gcc.dg/cpp/direct2s.c  (test for errors, line 17)
FAIL: gcc.dg/cpp/direct2s.c (test for excess errors)

I'll take a look.

Ben


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