]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Cache simulation requires strict INCEIP updating so that the boundaries between
authorNicholas Nethercote <njn@valgrind.org>
Thu, 1 Aug 2002 08:09:51 +0000 (08:09 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 1 Aug 2002 08:09:51 +0000 (08:09 +0000)
commit54f153c1da81a5259b513ed44b671e2197d325a4
treecec64ffec94448109848028c521bfeaacc9c79ba
parentcf0dafe8efece0317bb04f73ef4f1add7afe0314
Cache simulation requires strict INCEIP updating so that the boundaries between
individual x86 instructions can be found when instrumenting UCode.  However,
EIP is not needed during execution, because the x86 instr addresses are copied
into the cost-centres.  So now they INCEIPs are removed during the
instrumentation step once their task is done.

This reduces running times by about 3--7%, and translation sizes by about 9%
(code expansion reduced from about 11x to about 10x).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@550
cachegrind/cg_main.c
vg_cachesim.c