From 84ea618acdbe9aaa0d44dd2f56de7516eb8332d2 Mon Sep 17 00:00:00 2001 From: Sriraman Tallam Date: Fri, 8 Mar 2013 01:02:29 +0000 Subject: [PATCH] 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 --- libgcc/ChangeLog | 5 +++++ libgcc/config/i386/cpuinfo.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8482f1fc09b..fe08adb12aa 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 091565c5187..0ad00740350 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;