OSDN Git Service

add another sandy bridge model number.
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jun 2011 06:21:06 +0000 (06:21 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jun 2011 06:21:06 +0000 (06:21 +0000)
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

gcc/ChangeLog
gcc/config/i386/driver-i386.c

index fb53fdc..820bcbd 100644 (file)
@@ -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
index 985a6ff..efd4372 100644 (file)
@@ -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;