|
From: <sv...@va...> - 2005-07-27 22:59:57
|
Author: tom
Date: 2005-07-27 23:59:50 +0100 (Wed, 27 Jul 2005)
New Revision: 4286
Log:
Ignore prefetch information when decoding Intel cache details. Patch
from Josef Weidendorfer <Jos...@gm...>.
Modified:
trunk/cachegrind/cg-x86.c
Modified: trunk/cachegrind/cg-x86.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/cachegrind/cg-x86.c 2005-07-27 22:57:18 UTC (rev 4285)
+++ trunk/cachegrind/cg-x86.c 2005-07-27 22:59:50 UTC (rev 4286)
@@ -169,6 +169,10 @@
case 0x86: *L2c =3D (cache_t) { 512, 4, 64 }; L2_found =3D True;=
break;
case 0x87: *L2c =3D (cache_t) { 1024, 8, 64 }; L2_found =3D True;=
break;
=20
+ /* Ignore prefetch information */
+ case 0xf0: case 0xf1:
+ break;
+
default:
VG_(message)(Vg_DebugMsg,=20
"warning: Unknown Intel cache config value "
|