From 815cecbecd71325d22747966e2b9620fe1a774d4 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Thu, 9 Jun 2011 06:21:06 +0000 Subject: [PATCH] add another sandy bridge model number. gcc/: 2011-06-08 Andi Kleen * config/i386/driver-i386.c (host_detect_local_cpu): Add model 0x2d Intel CPU. From-SVN: r174835 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/driver-i386.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb53fdcc2af..820bcbd0676 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-08 Andi Kleen + + * config/i386/driver-i386.c (host_detect_local_cpu): + Add model 0x2d Intel CPU. + 2011-06-08 Andi Kleen * reginfo.c (global_regs_decl): Add. 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;