commit | b3507eaf2446369c502115c3678bc37050bb2b90 | [log] [tgz] |
---|---|---|
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 02 23:07:02 2005 +0000 |
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 02 23:07:02 2005 +0000 |
tree | 5bba5acd56483a0c41cd11b9a03d0a22926801b6 | |
parent | f9929e67369d4bba1a5e9e8416411fc50c669a59 [diff] |
Fixed a bug in Cachegrind: it was adding instrumentation after conditional jumps, so if those jumps were taken, the instrumentation wasn't executed. This was causing the I-cache access counts to be underestimated. This commit puts the instrumentation before the jumps, except for the odd case of REP instructions, giving the same behaviour as 2.4.0. Based on a patch from Josef Weidendorfer. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4309 a5019735-40e9-0310-863c-91ae7b9d1cf9