History log of /external/valgrind/cachegrind/cg_sim.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fed3c04fdddde080fd2834212f6f514be96db47c 01-Oct-2014 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge six easy pieces from the BUF_REMOVAL branch:
r14271 Audit a few buffer sizes, increase one.
r14280 Audit buffer size.
r14296 Remove a few unneeded header files.
r14310 Replace fixed size buffers with a large enough buffers.
r14338 Remove a dead assignment in print_bbcs and make global variable
print_fd a local variable.
r14359 Remove a benign macro redefinition in cachegrind.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14595 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
0f157ddb404bcde7815a1c5bf2d7e41c114f3d73 18-Oct-2013 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates (20XY-2012 ==> 20XY-2013)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13658 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
6fc0de0c31dc5ff9423d004d3af5f2219259cff4 30-Oct-2012 weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> Cachegrind: introduce special case for Ir

Because most Ir accesses touch only one line, and this
can be detected at instrumentation time, use a special
handler for that. This handler does not need to check
cache line crossing at runtime.

This does not change the results of the simulator at all,
but improves runtime by around 15% on perf benchmarks.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13095 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
b0909b40589ec17f370a9c716e47db87b1bb90a4 29-Oct-2012 weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> Get rid of compiler warning

In addition to "__attribute__((always_inline))", gcc wants
"__inline__" to be used, otherwise the warning

warning: always_inline function might not be inlinable

is printed. However, this does not have any effect on
performance (probably "static" makes gcc 4.7 already inlining
the functions?).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13092 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
dbb3584f591710a15a437918c0fc27e300993566 27-Oct-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> More Char/HChar fixes and constification.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13088 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
3694c9fa51437cf2025d3b66a46637aae73d0c28 06-Oct-2012 weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> Cachegrind: use memory block numbers as tags.

This saves instructions in hot path, resulting in
3% improvement on average with perf benchmarks.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13025 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
c1e9426c345714aac9e05751ca621d1f69c2b95f 06-Oct-2012 weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> cachegrind: replace huge macro with inlined functions

Makes modifications simpler in the future, and
should result in the same code.

This patch was already discussed some time ago on the
dev mailing list, and did not make a difference on
various architectures.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13024 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
03f8d3fc25f5a45c5826259d1b33b7f310117279 05-Aug-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates to include 2012.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
ec062e8d96a361af9905b5447027819dfbfee01a 23-Oct-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update all copyright dates, from 20xy-2010 to 20xy-2011.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12206 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
7c0f63976e88a8e5adde66cbd00ba00e7ca8facc 09-Jun-2011 tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> Use the precomputed sets_min_1 value consistently when masking
off bits from an address to find which cache set it is in.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11809 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
2d853a1f8a153ee1ed99c5e1166d69dd4c6574d8 07-Oct-2010 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Change Cachegrind/Callgrind to talk about the LL (last-level) cache instead
of the L2 cache. This is to accommodate machines with three levels of
cache. We still only simulate two levels, the first and the last.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11404 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
9eecbbb9a9cbbd30b903c09a9e04d8efc20bda33 03-May-2010 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates to 2010.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
9f207460d70d38c46c9e81996a3dcdf90961c6db 10-Mar-2009 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Updated copyright years.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9344 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
144b76c70143b4e68e584ad6b382d16360a8a460 26-Jan-2009 weidendo <weidendo@a5019735-40e9-0310-863c-91ae7b9d1cf9> Cachegrind/Callgrind: allow for cache sizes other than only powers of two

The number of sets, ie. number of cache lines divided by associativity,
and the cache line size still have to be powers of two.
This change is needed for default cache parameters used on some Intel
Core 2 and Atom processors.

Includes cachegrind manual update and explicit tests with 24KB D1/3MB L2
Reverts addition of 6MB warning to {cachegrind,callgrind}/tests/filter_stderr

Backporting to VALGRIND_3_4_BRANCH needs r8912

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9080 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
9c606bd8634cd6b67bb41fa645b5c639668cfa2d 18-Sep-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge all remaining changes from branches/PTRCHECK. These are some
relatively minor extensions to m_debuginfo, a major overhaul of
m_debuginfo/readdwarf3.c to get its space usage under control, and
changes throughout the system to enable heap-use profiling.

The majority of the merged changes were committed into
branches/PTRCHECK as the following revs: 8591 8595 8598 8599 8601 and
8161.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8621 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
4d474d086188fd1f29fa97dbd84d8ea2e589a9b8 11-Feb-2008 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates ("200X-2007" --> "200X-2008").


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7398 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
8a7b41b41b46c0aa7bd4b6678b82285437e7f08c 23-Sep-2007 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix various format string errors, courtesy of Florian Krohm.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6902 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
9ebd6e0c607fa30301b1325874eb8de871c21cc5 08-Jan-2007 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6488 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
cbdfcd6dc30b9d42dc4c9c165902ff23088edb58 22-Nov-2006 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix obscure bug in cache simulation, found by Ulrich Drepper.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6365 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
e4b0bf07b0ee0a18eacc5aba91686ab5fc1d327b 06-Jun-2006 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright dates.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5954 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
fcd04886dbda12c647f9e2d8dac85b2c834f0a6c 13-Nov-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Inline cachesim_*_doref(). This gains about 5--10% in speed.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5117 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
0103de5f5d39add9080fe72884af2a5520c1f661 10-Oct-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Convert some native types to our types.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4899 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
b619ca777d7d21945e0b593a4b9489b16b405d8f 10-Oct-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update cache simulator for 64 bit addresses. This probably won't have
caused many inaccuracies so far because it only matters if addresses
above the 4GB line are used. Thanks to Josef W for the patch.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4898 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
2bc10126a94b421a490b2759dc50ab67ec4ee116 08-May-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> A crucial, crucial change: update my email address.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3632 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
5361242f022b38fadb4cdf02428cea8b8d901a90 12-Mar-2005 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Update copyright notice for 2005 on all relevant files. Don't bother trying
to be selective about it.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3303 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
6799325d013e8e5668c2b8727203c77294ccd202 22-Nov-2004 njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> Renamed VG_(skin_panic) as VG_(tool_panic).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3057 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c
27fc1dacf94f1b9622d3a9bf48677fc09f61f7aa 04-Jan-2004 nethercote <nethercote@a5019735-40e9-0310-863c-91ae7b9d1cf9> Folded cg_sim_{gen,I1,D1,L2}.c into cg_sim.c, which makes a lot more sense and
is shorter.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2178 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/cachegrind/cg_sim.c