i386.c (cpu_names): Add "corei7".
authorBernd Schmidt <bernds@codesourcery.com>
Tue, 2 Nov 2010 12:40:42 +0000 (12:40 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Tue, 2 Nov 2010 12:40:42 +0000 (12:40 +0000)
* config/i386/i386.c (cpu_names): Add "corei7".
* config/i386/i386.h (enum target_cpu_default): Add entry for Core i7.

Co-Authored-By: Maxim Kuvyrkov <maxim@codesourcery.com>
From-SVN: r166178

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h

index 83aa176..18df572 100644 (file)
@@ -1,6 +1,12 @@
 2010-11-02  Bernd Schmidt  <bernds@codesourcery.com>
            Maxim Kuvyrkov  <maxim@codesourcery.com>
 
+       * config/i386/i386.c (cpu_names): Add "corei7".
+       * config/i386/i386.h (enum target_cpu_default): Add entry for Core i7.
+
+2010-11-02  Bernd Schmidt  <bernds@codesourcery.com>
+           Maxim Kuvyrkov  <maxim@codesourcery.com>
+
        Tune alignment for Intel Core i7
 
        * config/i386.h (TARGET_COREI7{_32,_64,}): New macros.
index 84317e0..e38f2cc 100644 (file)
@@ -2489,6 +2489,7 @@ static const char *const cpu_names[TARGET_CPU_DEFAULT_max] =
   "prescott",
   "nocona",
   "core2",
+  "corei7",
   "atom",
   "geode",
   "k6",
index 1a2c3f3..89ee0fa 100644 (file)
@@ -585,6 +585,7 @@ enum target_cpu_default
   TARGET_CPU_DEFAULT_prescott,
   TARGET_CPU_DEFAULT_nocona,
   TARGET_CPU_DEFAULT_core2,
+  TARGET_CPU_DEFAULT_corei7,
   TARGET_CPU_DEFAULT_atom,
 
   TARGET_CPU_DEFAULT_geode,