diff mbox

0003-Configure-bits-for-Core-i7

Message ID 4CC6DD71.2070208@codesourcery.com
State New
Headers show

Commit Message

Maxim Kuvyrkov Oct. 26, 2010, 1:53 p.m. UTC
This simple patch adds corei7 to the values recognized by configure's 
--with-arch[32]= option.

Bootstrapped on i686-pc-linux-gnu.

OK to check in?

Thank you,

Comments

Richard Henderson Oct. 26, 2010, 3:46 p.m. UTC | #1
On 10/26/2010 06:53 AM, Maxim Kuvyrkov wrote:
> 2010-10-25  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.

Ok.


r~
diff mbox

Patch

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 2b500ca..70423fa 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2201,6 +2201,7 @@  static const char *const cpu_names[TARGET_CPU_DEFAULT_max] =
   "prescott",
   "nocona",
   "core2",
+  "corei7",
   "atom",
   "geode",
   "k6",
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 1be09d6..0c02582 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -582,6 +582,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,