From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100978 invoked by alias); 5 May 2015 11:00:04 -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 100962 invoked by uid 89); 5 May 2015 11:00:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f46.google.com Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 05 May 2015 11:00:01 +0000 Received: by wgin8 with SMTP id n8so178209324wgi.0 for ; Tue, 05 May 2015 03:59:58 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.91.40 with SMTP id cb8mr2910171wib.64.1430823598635; Tue, 05 May 2015 03:59:58 -0700 (PDT) Received: by 10.28.104.138 with HTTP; Tue, 5 May 2015 03:59:58 -0700 (PDT) In-Reply-To: <554894D9.1080009@arm.com> References: <553657E5.7080002@arm.com> <554894D9.1080009@arm.com> Date: Tue, 05 May 2015 11:00:00 -0000 Message-ID: Subject: Re: [PATCH][AArch64] Add branch-cost to cpu tuning information. From: Marcus Shawcroft To: Matthew Wahab Cc: gcc-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00304.txt.bz2 On 5 May 2015 at 11:00, Matthew Wahab wrote: > 2015-05-05 Matthew Wahab > > > * gcc/config/aarch64-protos.h (struct cpu_branch_cost): New. > (tune_params): Add field branch_costs. > (aarch64_branch_cost): Declare. > * gcc/config/aarch64.c (generic_branch_cost): New. > (generic_tunings): Set field cpu_branch_cost to generic_branch_cost. > (cortexa53_tunings): Likewise. > (cortexa57_tunings): Likewise. > (thunderx_tunings): Likewise. > (xgene1_tunings): Likewise. > (aarch64_branch_cost): Define. > * gcc/config/aarch64/aarch64.h (BRANCH_COST): Redefine. > OK /Marcus