From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5091 invoked by alias); 10 May 2011 16:52:11 -0000 Received: (qmail 5071 invoked by uid 22791); 10 May 2011 16:52:07 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_BD X-Spam-Check-By: sourceware.org Received: from mail-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 May 2011 16:51:25 +0000 Received: by pvc12 with SMTP id 12so4342363pvc.0 for ; Tue, 10 May 2011 09:51:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.35.165 with SMTP id i5mr11622695pbj.449.1305046284238; Tue, 10 May 2011 09:51:24 -0700 (PDT) Received: by 10.68.46.67 with HTTP; Tue, 10 May 2011 09:51:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 May 2011 16:52:00 -0000 Message-ID: Subject: Re: [PATCH] add bdver2 processor. From: Quentin Neill To: "H.J. Lu" , binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00120.txt.bz2 On Fri, May 6, 2011 at 7:40 AM, H.J. Lu wrote: > On Thu, May 5, 2011 at 9:09 PM, Quentin Neill > wrote: >> On Wed, May 4, 2011 at 11:45 AM, H.J. Lu wrote: >>> On Wed, May 4, 2011 at 9:16 AM, Quentin Neill >>> wrote: >>>> This patch adds the bdver2 processor flag. =A0It passes make check on = x86-64. >>>> >>>> Okay to commit? >>>> -- >>>> Quentin >>>> >>>> >>>> gas/ >>>> =A0 =A0 =A0 =A0* config/tc-i386.c (cpu_arch): Add bdver2. >>>> =A0 =A0 =A0 =A0(i386_align_code): Add PROCESSOR_BDVER2 cases. >>>> =A0 =A0 =A0 =A0* config/tc-i386.h (processor_type): Add PROCESSOR_BDVE= R2. >>>> =A0 =A0 =A0 =A0* doc/c-i386.texi: Add bdver2. >>>> >>>> opcodes/ >>>> =A0 =A0 =A0 =A0* i386-gen.c (cpu_flag_init): Add new CPU_BDVER2_FLAGS. >>>> =A0 =A0 =A0 =A0* i386-init.h: Regenerated. >>>> >>>> gas/testsuite/ >>>> =A0 =A0 =A0 =A0* gas/i386/i386.exp: Add new bdver2 test cases. >>>> =A0 =A0 =A0 =A0* gas/i386/nops-1-bdver2.d: New. >>>> =A0 =A0 =A0 =A0* gas/i386/x86-64-nops-1-bdver2.d: New. >>>> >>> >>> Do you nreally nned PROCESSOR_BDVER2? Can you use PROCESSOR_BDVER1? ins= tead? >>> >>> -- >>> H.J. >>> >> >> BDVER2 adds BMI and TBM. > > That is controlled by CPU_BDVER2_FLAGS. > [ Sorry for the delay, I was out for a couple of days. Re-adding binutils@sourceware.org (I meant to copy on my 2nd reply). ] So without PROCESSOR_BDVER2, that means no -march=3Dbdver2 flag support, but what else? What if -march/-mtune support is added to GCC for bdver2, how would it convey -march=3Dbdver2 to the assembler? --=20 Quentin