aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2011-06-09 06:21:06 +0000
committerAndi Kleen <ak@gcc.gnu.org>2011-06-09 06:21:06 +0000
commit815cecbecd71325d22747966e2b9620fe1a774d4 (patch)
tree1c130029875ddedb7abcb43c4cab0bcce94c4e8c
parent1460ec5c3d5a247e704245ac996750c749991fdd (diff)
downloadgcc-815cecbecd71325d22747966e2b9620fe1a774d4.zip
gcc-815cecbecd71325d22747966e2b9620fe1a774d4.tar.gz
gcc-815cecbecd71325d22747966e2b9620fe1a774d4.tar.bz2
add another sandy bridge model number.
gcc/: 2011-06-08 Andi Kleen <ak@linux.intel.com> * config/i386/driver-i386.c (host_detect_local_cpu): Add model 0x2d Intel CPU. From-SVN: r174835
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/driver-i386.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb53fdc..820bcbd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2011-06-08 Andi Kleen <ak@linux.intel.com>
+ * config/i386/driver-i386.c (host_detect_local_cpu):
+ Add model 0x2d Intel CPU.
+
+2011-06-08 Andi Kleen <ak@linux.intel.com>
+
* reginfo.c (global_regs_decl): Add.
(globalize_reg): Add decl parameter. Compute location.
Pass location to warnings and add inform. Store decl
diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 985a6ff..efd4372 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -572,6 +572,7 @@ const char *host_detect_local_cpu (int argc, const char **argv)
cpu = "corei7";
break;
case 0x2a:
+ case 0x2d:
/* Sandy Bridge. */
cpu = "corei7-avx";
break;