From: Tom Hughes Date: Wed, 27 Jul 2005 22:59:50 +0000 (+0000) Subject: Ignore prefetch information when decoding Intel cache details. Patch X-Git-Tag: svn/VALGRIND_3_0_0~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9d05342fb93d82e02c743c4e334affba89a7a55;p=thirdparty%2Fvalgrind.git Ignore prefetch information when decoding Intel cache details. Patch from Josef Weidendorfer . git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4286 --- diff --git a/cachegrind/cg-x86.c b/cachegrind/cg-x86.c index f235660f57..b0bd3af48d 100644 --- a/cachegrind/cg-x86.c +++ b/cachegrind/cg-x86.c @@ -169,6 +169,10 @@ Int Intel_cache_info(Int level, cache_t* I1c, cache_t* D1c, cache_t* L2c) case 0x86: *L2c = (cache_t) { 512, 4, 64 }; L2_found = True; break; case 0x87: *L2c = (cache_t) { 1024, 8, 64 }; L2_found = True; break; + /* Ignore prefetch information */ + case 0xf0: case 0xf1: + break; + default: VG_(message)(Vg_DebugMsg, "warning: Unknown Intel cache config value "