summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 06:21:06 +0000
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-09 06:21:06 +0000
commit9eae7f95a94f8d4e25581d17c8cc5f52a0133a56 (patch)
tree1c130029875ddedb7abcb43c4cab0bcce94c4e8c /gcc
parentca2d5ca14b48dfb99814286e5bd4f214fca8af12 (diff)
downloadgcc-9eae7f95a94f8d4e25581d17c8cc5f52a0133a56.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174835 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 fb53fdcc2af..820bcbd0676 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 985a6ff5606..efd43729fb8 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;