From 001c2c322b0cdbed6befd09d4e747c2be6392c52 Mon Sep 17 00:00:00 2001 From: Xianyi Zhang Date: Mon, 23 Apr 2012 17:38:54 +0800 Subject: [PATCH] Refs #94. Auto-detecting Intel Xeon E7 Westmere-EX. --- cpuid_x86.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cpuid_x86.c b/cpuid_x86.c index e7aa07b448..7b36fdbdf4 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -990,6 +990,9 @@ int get_cpuname(void){ case 13: //Intel Core i7-3000 / Xeon E5 (Sandy Bridge) return CPUTYPE_NEHALEM; + case 15: + //Xeon Processor E7 (Westmere-EX) + return CPUTYPE_NEHALEM; } break; } @@ -1325,6 +1328,9 @@ int get_coretype(void){ case 13: //Intel Core i7-3000 / Xeon E5 (Sandy Bridge) return CORE_NEHALEM; + case 15: + //Xeon Processor E7 (Westmere-EX) + return CORE_NEHALEM; } break; }