From: Sriraman Tallam Date: Fri, 8 Mar 2013 01:02:29 +0000 (+0000) Subject: cpuinfo.c (get_intel_cpu): Fix cpuid codes for sandybridge processors. X-Git-Tag: upstream/12.2.0~70946 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84ea618acdbe9aaa0d44dd2f56de7516eb8332d2;p=platform%2Fupstream%2Fgcc.git cpuinfo.c (get_intel_cpu): Fix cpuid codes for sandybridge processors. 2013-03-07 Sriraman Tallam * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for sandybridge processors. From-SVN: r196532 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8482f1f..fe08adb 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2013-03-07 Sriraman Tallam + + * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for + sandybridge processors. + 2013-03-06 Oleg Endo PR target/56529 diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c index 091565c..0ad0074 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c @@ -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;