|
From: <sv...@va...> - 2012-10-20 17:18:44
|
philippe 2012-10-20 18:18:35 +0100 (Sat, 20 Oct 2012)
New Revision: 13060
Log:
Follow-up to cache reorg: update trace cache warning
Update trace cache warning so that it is the same as before the cache reorg
(avoid failure of some tests on Pentium4 as the warning output
must match what is filtered by cachegrind/tests/filter_stderr)
Modified files:
trunk/cachegrind/cg-arch.c
Modified: trunk/cachegrind/cg-arch.c (+2 -2)
===================================================================
--- trunk/cachegrind/cg-arch.c 2012-10-19 15:45:17 +01:00 (rev 13059)
+++ trunk/cachegrind/cg-arch.c 2012-10-20 18:18:35 +01:00 (rev 13060)
@@ -327,10 +327,10 @@
} else {
adjusted_size = 32 * 1024;
}
- VG_(dmsg)("warning: %u KB micro-op instruction trace cache\n",
+ VG_(dmsg)("warning: Pentium 4 with %u KB micro-op instruction trace cache\n",
i1->sizeB / 1024);
VG_(dmsg)(" Simulating a %d KB I-cache with %d B lines\n",
- adjusted_size, guessed_line_size);
+ adjusted_size / 1024, guessed_line_size);
*I1c = (cache_t) { adjusted_size, i1->assoc, guessed_line_size };
} else {
|