From patchwork Wed Mar 2 12:20:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Andre Vieira (lists)" X-Patchwork-Id: 590974 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A6D6F14090A for ; Wed, 2 Mar 2016 23:20:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=K/xQjIZt; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=nfTO3XsnJIrcPlk+h A4e2sqZ4prcRf8B6150ol4FHz5YJhJyiP0RfEs+MTxrqn3OZrP0ljQ16VAeMufEG DX717LxJNnbXuiQJ2uGuJ/SPrOs85Vu4u5MumUGLoX1hPINJLE9FTMQYMsqivO0Q aDfxhthbgHqIS48/RCvaSZ4cHo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=ttHydf9GywADytZ5BbHDs/2 gvrE=; b=K/xQjIZtXcyDrj5VR3NAPevcw02iF1hC0mNDicdzFDBd9IcZhcWBNiT MGsZA6LGv6YZzoF9vwerMLfBJ1PNXTo4X1vY4omCyBXutU4FPLt6qR0kFXEhCVQn TNvhvFGH64+knPbnQnvZAhFzkQC3nBi4VIjKUrNO6XAGmcfHR2dE= Received: (qmail 74914 invoked by alias); 2 Mar 2016 12:20:45 -0000 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 Received: (qmail 74894 invoked by uid 89); 2 Mar 2016 12:20:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=BAYES_40, KAM_LOTSOFHASH, RP_MATCHES_RCVD, SPF_PASS autolearn=no version=3.3.2 spammy=cortexm4, cortex-m4, arm-cores.def, armcoresdef X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Mar 2016 12:20:43 +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 1008C49 for ; Wed, 2 Mar 2016 04:19:47 -0800 (PST) Received: from [10.2.206.221] (e107157-lin.cambridge.arm.com [10.2.206.221]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3C73A3F25F for ; Wed, 2 Mar 2016 04:20:42 -0800 (PST) Subject: [PATCH 1/2][GCC][ARM] Add support for Cortex-R8 To: gcc-patches@gcc.gnu.org References: <56D6DA1E.3020508@arm.com> From: "Andre Vieira (lists)" Message-ID: <56D6DA98.9050609@arm.com> Date: Wed, 2 Mar 2016 12:20:40 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <56D6DA1E.3020508@arm.com> X-IsSubscribed: yes gcc/ChangeLog: 2016-03-02 Andre Vieira * config/arm/arm-cores.def (cortex-r8): New. * config/arm/arm-tables.opt (cortex-r8): New. * config/arm/arm-tune.md: Regenerate. * gcc/doc/invoke.texi: Add cortex-r8 to list of cpu values. From 8d10507bd80fd0a1db221669a67785f57ffc304f Mon Sep 17 00:00:00 2001 From: Andre Simoes Dias Vieira Date: Tue, 16 Feb 2016 12:01:28 +0000 Subject: [PATCH 1/5] Add Cortex-R8 --- gcc/config/arm/arm-cores.def | 1 + gcc/config/arm/arm-tables.opt | 3 +++ gcc/config/arm/arm-tune.md | 11 ++++++----- gcc/doc/invoke.texi | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/config/arm/arm-cores.def b/gcc/config/arm/arm-cores.def index 6538861898689e64a3554f709c5a3355cffad187..0908c6996ecd799f463b8501d31f0b74bada5828 100644 --- a/gcc/config/arm/arm-cores.def +++ b/gcc/config/arm/arm-cores.def @@ -155,6 +155,7 @@ ARM_CORE("cortex-r4", cortexr4, cortexr4, 7R, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | ARM_CORE("cortex-r4f", cortexr4f, cortexr4f, 7R, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_FOR_ARCH7R), cortex) ARM_CORE("cortex-r5", cortexr5, cortexr5, 7R, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_ARM_DIV | FL_FOR_ARCH7R), cortex) ARM_CORE("cortex-r7", cortexr7, cortexr7, 7R, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_ARM_DIV | FL_FOR_ARCH7R), cortex) +ARM_CORE("cortex-r8", cortexr8, cortexr7, 7R, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_ARM_DIV | FL_FOR_ARCH7R), cortex) ARM_CORE("cortex-m7", cortexm7, cortexm7, 7EM, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_NO_VOLATILE_CE | FL_FOR_ARCH7EM), cortex_m7) ARM_CORE("cortex-m4", cortexm4, cortexm4, 7EM, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_FOR_ARCH7EM), v7m) ARM_CORE("cortex-m3", cortexm3, cortexm3, 7M, ARM_FSET_MAKE_CPU1 (FL_LDSCHED | FL_FOR_ARCH7M), v7m) diff --git a/gcc/config/arm/arm-tables.opt b/gcc/config/arm/arm-tables.opt index 6d6ee96828146fe076a6a1ee285f6a1d578b6c85..8fc6a331241a7928bc274250bcfa7d8438bf41aa 100644 --- a/gcc/config/arm/arm-tables.opt +++ b/gcc/config/arm/arm-tables.opt @@ -286,6 +286,9 @@ EnumValue Enum(processor_type) String(cortex-r7) Value(cortexr7) EnumValue +Enum(processor_type) String(cortex-r8) Value(cortexr8) + +EnumValue Enum(processor_type) String(cortex-m7) Value(cortexm7) EnumValue diff --git a/gcc/config/arm/arm-tune.md b/gcc/config/arm/arm-tune.md index 1c842180cee6afd7a560ef51b63632bb0f83b932..0a6906563c2f5b4e4f6e6c91e978db4e7bdf907f 100644 --- a/gcc/config/arm/arm-tune.md +++ b/gcc/config/arm/arm-tune.md @@ -30,9 +30,10 @@ cortexa8,cortexa9,cortexa12, cortexa15,cortexa17,cortexr4, cortexr4f,cortexr5,cortexr7, - cortexm7,cortexm4,cortexm3, - marvell_pj4,cortexa15cortexa7,cortexa17cortexa7, - cortexa35,cortexa53,cortexa57, - cortexa72,exynosm1,qdf24xx, - xgene1,cortexa57cortexa53,cortexa72cortexa53" + cortexr8,cortexm7,cortexm4, + cortexm3,marvell_pj4,cortexa15cortexa7, + cortexa17cortexa7,cortexa35,cortexa53, + cortexa57,cortexa72,exynosm1, + qdf24xx,xgene1,cortexa57cortexa53, + cortexa72cortexa53" (const (symbol_ref "((enum attr_tune) arm_tune)"))) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0a2a6f45d7cf916a84dc48b6885cf04d43b12d8a..52cbdd26c453fd54562b43c23428a8671e74254d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -13876,7 +13876,7 @@ Permissible names are: @samp{arm2}, @samp{arm250}, @samp{cortex-a9}, @samp{cortex-a12}, @samp{cortex-a15}, @samp{cortex-a17}, @samp{cortex-a35}, @samp{cortex-a53}, @samp{cortex-a57}, @samp{cortex-a72}, @samp{cortex-r4}, -@samp{cortex-r4f}, @samp{cortex-r5}, @samp{cortex-r7}, @samp{cortex-m7}, +@samp{cortex-r4f}, @samp{cortex-r5}, @samp{cortex-r7}, @samp{cortex-r8}, @samp{cortex-m7}, @samp{cortex-m4}, @samp{cortex-m3}, @samp{cortex-m1}, -- 1.9.1