cpuinfo.c (get_intel_cpu): Fix cpuid codes for sandybridge processors.

2013-03-07  Sriraman Tallam  <tmsriram@google.com>

	* config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
	sandybridge processors.

From-SVN: r196532
This commit is contained in:
Sriraman Tallam 2013-03-08 01:02:29 +00:00 committed by Sriraman Tallam
parent 5daf1f8057
commit 84ea618acd
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-03-07 Sriraman Tallam <tmsriram@google.com>
* config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
sandybridge processors.
2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
PR target/56529

View File

@ -178,6 +178,7 @@ get_intel_cpu (unsigned int family, unsigned int model, unsigned int brand_id)
__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;