Add another sandy bridge model number.

Passes bootstrap & test suite on x86_64-linux. Ok for trunk and 
4.6?

2011-06-6  Andi Kleen  <a...@linux.intel.com>

        * config/i386/driver-i386.c (host_detect_local_cpu):
        Add model 0x2d Intel CPU.
---
 gcc/config/i386/driver-i386.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 4fc6b45..98cd6f6 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;
-- 
1.7.5.3

-- 
a...@linux.intel.com -- Speaking for myself only.

Reply via email to