* [PATCH] cpuid check code in libgcc, fix cpuinfo code for sandybridge detection
@ 2013-03-08 1:06 Sriraman Tallam
0 siblings, 0 replies; only message in thread
From: Sriraman Tallam @ 2013-03-08 1:06 UTC (permalink / raw)
To: GCC Patches, David Li
Hi,
I committed this simple patch to check for sandybridge processors
when cpuid model number is 0x2d. This is the model for SandyBridge-E
processors : http://software.intel.com/en-us/articles/intel-architecture-and-processor-identification-with-cpuid-model-and-family-numbers
Index: config/i386/cpuinfo.c
===================================================================
--- config/i386/cpuinfo.c (revision 196527)
+++ config/i386/cpuinfo.c (working copy)
@@ -178,6 +178,7 @@ get_intel_cpu (unsigned int family, unsigned int m
__cpu_model.__cpu_subtype = INTEL_COREI7_WESTMERE;
break;
case 0x2a:
+ case 0x2d:
/* Sandy Bridge. */
__cpu_model.__cpu_type = INTEL_COREI7;
__cpu_model.__cpu_subtype = INTEL_COREI7_SANDYBRIDGE;
Thanks
Sri
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-08 1:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-08 1:06 [PATCH] cpuid check code in libgcc, fix cpuinfo code for sandybridge detection Sriraman Tallam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).