This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cache misses in gcc 3.3
- From: Michael S. Zick <mszick at goquest dot com>
- To: Andi Kleen <ak at muc dot de>,gcc at gcc dot gnu dot org
- Date: Mon, 10 Feb 2003 08:44:11 -0600
- Subject: Re: cache misses in gcc 3.3
- References: <20030209221311.GA11277@averell>
On Sunday 09 February 2003 04:13 pm, Andi Kleen wrote:
>
> I suspect using an handwritten top-down parser would be somewhat faster
> here because it encodes the grammer in code, not data and I would expect it
> to have a smaller working set and be less affected by data caches
> overflowing.
>
> -Andi
>
Also, handwritten top-down parsers generally make heavy use of local
variables (stack area) - which is always D-Cache hot and quicker to
allocate and deallocate.
Mike