From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19287 invoked by alias); 29 Jun 2017 16:40:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 19272 invoked by uid 89); 29 Jun 2017 16:40:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.4 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=vigilance X-HELO: foss.arm.com Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Jun 2017 16:40:48 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 403CD344; Thu, 29 Jun 2017 09:40:46 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5CA273F557; Thu, 29 Jun 2017 09:40:45 -0700 (PDT) Subject: Re: [PATCH, GCC/ARM, 0/3] Add support for ARMv8-R To: Christophe Lyon Cc: Kyrill Tkachov , Ramana Radhakrishnan , Richard Earnshaw , "gcc-patches@gcc.gnu.org" References: <9ab04ae2-a65a-11cc-dfaf-1a20a8137e4e@foss.arm.com> <7bdda77b-8d44-e8cb-78d5-525503e19455@foss.arm.com> From: Thomas Preudhomme Message-ID: Date: Thu, 29 Jun 2017 16:40:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg02308.txt.bz2 On 29/06/17 16:12, Christophe Lyon wrote: > On 29 June 2017 at 16:37, Thomas Preudhomme >> >>> >>> Why do you link armv8-r architecture definition to cortex-r4? >> >> >> I understand, where did I do such a thing? >> > > In patch #2 you have: > diff --git a/gcc/config/arm/arm-cpu-data.h b/gcc/config/arm/arm-cpu-data.h > index d6200f9bdc09a9d0c973853b0152a2800eaf2fe5..48c1d88032c1c5dc7c6cba71511f79fe9f2533ea > 100644 > --- a/gcc/config/arm/arm-cpu-data.h > +++ b/gcc/config/arm/arm-cpu-data.h > @@ -1478,6 +1478,26 @@ static const struct processors all_architectures[] = > NULL > }, > { > + "armv8-r", TARGET_CPU_cortexr4, > + (TF_CO_PROC), > + "8R", BASE_ARCH_8R, > + { > + ISA_ARMv8r, > + isa_nobit > + }, > + NULL > + }, > + { > + "armv8-r+crc", TARGET_CPU_cortexr4, > + (TF_CO_PROC), > + "8R", BASE_ARCH_8R, > + { > + ISA_ARMv8r,isa_bit_crc32, > + isa_nobit > + }, > + NULL > + }, > + { > "iwmmxt", TARGET_CPU_iwmmxt, > (TF_LDSCHED | TF_STRONG | TF_XSCALE), > "5TE", BASE_ARCH_5TE, > > Both entries point to TARGET_CPU_cortexr4. I guess that's because r52 > is only defined in patch #3, but then why not update this in patch #3 > are replace r4 with r52? > > Not sure I'm very clear :-) You are. I must have forgotten about that setting when working on patch #3. I'll update this. Thanks for your vigilance :-) Best regards, Thomas