]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Redo the dispatcher's fast-cache mechanism (VG_(tt_fast) et al) to be
authorJulian Seward <jseward@acm.org>
Sun, 11 Feb 2007 05:08:06 +0000 (05:08 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 11 Feb 2007 05:08:06 +0000 (05:08 +0000)
commit79f854bc29b3fb7b22a1e2127ab1c5fc7535d79e
treea7825d7c751c0995a7fbe997a66c00ccd2040afe
parent2dd37581a13fb54a06ec960fa28ae467879e974c
Redo the dispatcher's fast-cache mechanism (VG_(tt_fast) et al) to be
more cache friendly.  This changes the mechanism from being a table of
pointers to (guest address, translated code pairs) to being a table of
pairs (guest address, pointer to translated code).  The effect ranges
from zero up to about 20% performance improvement on memcheck, the
biggest effects being seen for programs which jump around a large
number of blocks of code and whose data set does not fit in L2.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6582
coregrind/m_dispatch/dispatch-amd64-linux.S
coregrind/m_dispatch/dispatch-ppc32-linux.S
coregrind/m_dispatch/dispatch-x86-linux.S
coregrind/m_translate.c
coregrind/m_transtab.c
coregrind/pub_core_transtab.h