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: RFC/RFHelp: overhaul C front end's identifier->decl lookup


Michael Matz <matz at suse dot de> writes:

> Hi,
>
> On Thu, 3 Apr 2003, Zack Weinberg wrote:
>
>> which I will look at tomorrow when I am awake.  But what I need help
>> with is, c-symbol-lookup.diff accomplishes a small speedup, but
>> c-tag-lookup.diff makes the compiler slower than it was before I
>> began, and I don't understand why.
>
> OK, I now changed the diffs to be applyable and tried a profilable version
> of the compiler on a big C testcase (basically a concatenation of
> insn-attrtab.c, insn-recog.c, expr.c and fold-const.c).
[...]

Your results are dominated by reload and related logic.  Could you
please repeat this test with -fsyntax-only, which should focus
attention on the parser?

> I.e. all in all I think this patch has no real performance impact either
> way, at least not in a profiling cc1.

That is more like what I expected, but I would like to have some
explanation of the result I get for bootstrap time...

zw


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