summaryrefslogtreecommitdiff
path: root/cachegrind
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-07-20 04:32:44 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-07-20 04:32:44 +0000
commit8bc8582386d008477ddbd1a1057f66084a1dcbf8 (patch)
treeeb59a0ac29faaee1481cbdc05b8d0bc1f013c200 /cachegrind
parent7b1a6a4c0f7ec47773f060dd46d627f3ad40da8b (diff)
Add a CPUID case, thanks to Josef W.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4210 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'cachegrind')
-rw-r--r--cachegrind/cg-amd64.c1
-rw-r--r--cachegrind/cg-x86.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/cachegrind/cg-amd64.c b/cachegrind/cg-amd64.c
index 0ac02bf3..36832fc4 100644
--- a/cachegrind/cg-amd64.c
+++ b/cachegrind/cg-amd64.c
@@ -158,6 +158,7 @@ Int Intel_cache_info(Int level, cache_t* I1c, cache_t* D1c, cache_t* L2c)
case 0x7a: *L2c = (cache_t) { 256, 8, 64 }; L2_found = True; break;
case 0x7b: *L2c = (cache_t) { 512, 8, 64 }; L2_found = True; break;
case 0x7c: *L2c = (cache_t) { 1024, 8, 64 }; L2_found = True; break;
+ case 0x7d: *L2c = (cache_t) { 2048, 8, 64 }; L2_found = True; break;
case 0x7e: *L2c = (cache_t) { 256, 8, 128 }; L2_found = True; break;
case 0x81: *L2c = (cache_t) { 128, 8, 32 }; L2_found = True; break;
diff --git a/cachegrind/cg-x86.c b/cachegrind/cg-x86.c
index 2be5f35c..f235660f 100644
--- a/cachegrind/cg-x86.c
+++ b/cachegrind/cg-x86.c
@@ -158,6 +158,7 @@ Int Intel_cache_info(Int level, cache_t* I1c, cache_t* D1c, cache_t* L2c)
case 0x7a: *L2c = (cache_t) { 256, 8, 64 }; L2_found = True; break;
case 0x7b: *L2c = (cache_t) { 512, 8, 64 }; L2_found = True; break;
case 0x7c: *L2c = (cache_t) { 1024, 8, 64 }; L2_found = True; break;
+ case 0x7d: *L2c = (cache_t) { 2048, 8, 64 }; L2_found = True; break;
case 0x7e: *L2c = (cache_t) { 256, 8, 128 }; L2_found = True; break;
case 0x81: *L2c = (cache_t) { 128, 8, 32 }; L2_found = True; break;