diff options
author | tmsriram <tmsriram@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-08 01:02:29 +0000 |
---|---|---|
committer | tmsriram <tmsriram@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-08 01:02:29 +0000 |
commit | a1b2a5248015b58d04380d286aab4651c948bd22 (patch) | |
tree | dc4d957dfd4ff8fa83789300a5af3a1f13c48440 /libgcc | |
parent | d4ce51b3a23576ef8e30dbc7b6b26f0503a59be9 (diff) | |
download | gcc-a1b2a5248015b58d04380d286aab4651c948bd22.tar.gz |
2013-03-07 Sriraman Tallam <tmsriram@google.com>
* config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
sandybridge processors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/config/i386/cpuinfo.c | 1 |
2 files changed, 6 insertions, 0 deletions
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 <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 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; |