OSDN Git Service

Merge branch 'trunk' of git://gcc.gnu.org/git/gcc into rework
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / driver-i386.c
index cdfa890..a2824b1 100644 (file)
@@ -21,7 +21,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "tm.h"
-#include <stdlib.h>
 
 const char *host_detect_local_cpu (int argc, const char **argv);
 
@@ -569,6 +568,10 @@ const char *host_detect_local_cpu (int argc, const char **argv)
          /* Westmere.  */
          cpu = "corei7";
          break;
+       case 0x2a:
+         /* Sandy Bridge.  */
+         cpu = "corei7-avx";
+         break;
        case 0x17:
        case 0x1d:
          /* Penryn.  */