From patchwork Tue Oct 26 13:53:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Kuvyrkov X-Patchwork-Id: 69251 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 2CC18B70B8 for ; Wed, 27 Oct 2010 00:54:12 +1100 (EST) Received: (qmail 1467 invoked by alias); 26 Oct 2010 13:54:07 -0000 Received: (qmail 1454 invoked by uid 22791); 26 Oct 2010 13:54:06 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Oct 2010 13:53:56 +0000 Received: (qmail 4408 invoked from network); 26 Oct 2010 13:53:54 -0000 Received: from unknown (HELO mbp.local) (maxim@127.0.0.2) by mail.codesourcery.com with ESMTPA; 26 Oct 2010 13:53:54 -0000 Message-ID: <4CC6DD71.2070208@codesourcery.com> Date: Tue, 26 Oct 2010 09:53:53 -0400 From: Maxim Kuvyrkov User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 MIME-Version: 1.0 To: gcc-patches CC: Richard Henderson , Bernd Schmidt , "H.J. Lu" Subject: 0003-Configure-bits-for-Core-i7 References: <4CBD7F43.3050209@codesourcery.com> In-Reply-To: <4CBD7F43.3050209@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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, 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,