From patchwork Mon Dec 2 12:14:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilco Dijkstra X-Patchwork-Id: 1203120 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-514955-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="VtgkXwcv"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="+FHUdjvP"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="+FHUdjvP"; dkim-atps=neutral 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 47RPFH1rTzz9sRH for ; Mon, 2 Dec 2019 23:14:57 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=Vsg trAsyglg9lrZvFQOV3v1cj0llcV597f6D1sRYdpIpiZ9BDLaCJGAsH3Kg/rricew 9ZAX7v2CpM8vVYKDAslCWzxpYCn3pJgV15Z+qgE9HvbrdyrcMqxADuzFuk2FrBiF ff+8vh4LDD5qSSX6bYIS6mVwCYI6M09KsuXuyphs= 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:from :to:cc:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=7+AgQNSC5 rj3E+K74MtlP4C62MM=; b=VtgkXwcv4rMJLxkqci0aeqyFhmrlxYM1vnXpCZwTB DWXoKlHSOeICKY8ZS6YZvhHaKj8ZMP5uQTP+xE+VwPT4HiWSrCEyRP/bpy7/61e1 P4smxgr4SntGKqP0bAW/TwAthhZkQUIMlJJdPzkB6dlpZ7YIgoBR3wY57FzIH0g1 Ac= Received: (qmail 29619 invoked by alias); 2 Dec 2019 12:14:50 -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 29110 invoked by uid 89); 2 Dec 2019 12:14:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LOTSOFHASH, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 spammy=HX-HELO:sk:EUR01-H, H*RU:sk:EUR01-H, HX-Spam-Relays-External:sk:EUR01-H X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-eopbgr130040.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (40.107.13.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Dec 2019 12:14:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ObM7m60seK6sYiz4cac1ysNUrtazNadI0CyW4ZDyqWE=; b=+FHUdjvP+o08BVXitcL1AQbzJ4nAb12r4vrUBCQS7i5fRDL7jcg8kLi3ZuOlecQ/MCtAVIvzo5rn65iwCzWOEfX75HDMi25sPU89qBs3W9knESiy0R9Oy1prCpK6VO30G1gtatZWzR9z3MOtOOHhaMsNkOuVPUwEXjicpCWbm64= Received: from VI1PR08CA0098.eurprd08.prod.outlook.com (2603:10a6:800:d3::24) by AM0PR08MB4962.eurprd08.prod.outlook.com (2603:10a6:208:15a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20; Mon, 2 Dec 2019 12:14:40 +0000 Received: from AM5EUR03FT043.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by VI1PR08CA0098.outlook.office365.com (2603:10a6:800:d3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20 via Frontend Transport; Mon, 2 Dec 2019 12:14:40 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT043.mail.protection.outlook.com (10.152.17.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Mon, 2 Dec 2019 12:14:40 +0000 Received: ("Tessian outbound 691822eda51f:v37"); Mon, 02 Dec 2019 12:14:39 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2f879a8d17706186 X-CR-MTA-TID: 64aa7808 Received: from 3a53dc691ff5.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8B085880-410C-44F9-993B-06BF2E176449.1; Mon, 02 Dec 2019 12:14:33 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3a53dc691ff5.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 02 Dec 2019 12:14:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O+d8xLYOE+ZvtlWSjD7mE8/gfVXH9dtXdyzZ/G6OT6pMb8sQG6PQq4ZcO1kPy8Uz1yGnbv9NAOKdfEYpEPopFZT++eiDyHC+wiMKGChhmDLTUC4U3Ke6lJOXvy3v5imB4cllHme3pzEq6ZeEGbvIVeySjKB0nYIqlTeFOPWCQh2Hxbq0kFYr7ReB2VyT6MjCxhwC4j1sY8DBJ7X8YeUxhmsrcDGPgxgKJs/O9Jbg16klFgDKD2EqvSTCxPraWGl16QMms74n18GbYSzyJw3MBtFMQ4xLiS9kw1jpRte6Y1EezrxfDzUTJV1YbqFdPGAg027STaCwmXCFCRGrdAnW3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ObM7m60seK6sYiz4cac1ysNUrtazNadI0CyW4ZDyqWE=; b=i/5MH7RhlSHoZ8bnTYb8laEcXed9tqpzSyFhK/Oqok4ZlnmHmMZodXMtsjKnGPdd6Kgm2eM20NNYdaalP1lJTmh9w0qdaHKewxwq/8X2XDGMHO8wY0IlabhYbiwKOJNJGZ5hLS1yK9p+rgKcecJXbTBTjTbslkMyw4mCKgieQ0wspgjrDU0wJ+qKK3tDqU0jr01ycOOeD6r8S2Ni8N9RMuAGkT1tpz7rALtz3Q5HYLB6m2tiL+/N8awlJL/py2SQ5c2vHqEcBdZ645R9vbkBvg0RGpxd03A5CejW98OEZywFAhytTNyw4kOmK8S6kNvuPOi8keS/scCZI+1x6WlkYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ObM7m60seK6sYiz4cac1ysNUrtazNadI0CyW4ZDyqWE=; b=+FHUdjvP+o08BVXitcL1AQbzJ4nAb12r4vrUBCQS7i5fRDL7jcg8kLi3ZuOlecQ/MCtAVIvzo5rn65iwCzWOEfX75HDMi25sPU89qBs3W9knESiy0R9Oy1prCpK6VO30G1gtatZWzR9z3MOtOOHhaMsNkOuVPUwEXjicpCWbm64= Received: from VI1PR0801MB2127.eurprd08.prod.outlook.com (10.168.62.22) by VI1PR0801MB1647.eurprd08.prod.outlook.com (10.168.66.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.22; Mon, 2 Dec 2019 12:14:28 +0000 Received: from VI1PR0801MB2127.eurprd08.prod.outlook.com ([fe80::2077:6fd9:244d:8d16]) by VI1PR0801MB2127.eurprd08.prod.outlook.com ([fe80::2077:6fd9:244d:8d16%6]) with mapi id 15.20.2495.014; Mon, 2 Dec 2019 12:14:28 +0000 From: Wilco Dijkstra To: GCC Patches CC: Kyrylo Tkachov Subject: [PATCH][GCC8][AArch64] Backport Cortex-A76, Ares and Neoverse N1 cpu names Date: Mon, 2 Dec 2019 12:14:28 +0000 Message-ID: Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; x-ms-exchange-transport-forked: True x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:4714;OLM:4714; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(396003)(366004)(39860400002)(189003)(199004)(3846002)(6116002)(316002)(102836004)(81156014)(81166006)(25786009)(478600001)(8676002)(8936002)(66066001)(7736002)(74316002)(305945005)(4001150100001)(186003)(26005)(7696005)(14454004)(2906002)(86362001)(256004)(71200400001)(6916009)(71190400001)(33656002)(6506007)(66476007)(64756008)(76116006)(66446008)(66946007)(66556008)(5660300002)(52536014)(6436002)(4326008)(99286004)(9686003)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB1647; H:VI1PR0801MB2127.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: JdjDIKz0JVzOlgCMTNvPh2LJfBR/xviCARBfNOUYv+0u8iMDmiw/z1BuETrAslk4VmphE9AqKGV+aLSErxEHBc6bCSVg620K0CKq0Q+AzOYMcdqwWbbSX5r/X4EjFzI9y9eQrp+7bbo4tP0JBMhUC0LJYhNUsp+rH+HurDgXVEsKoxt3k3ZIMXCa19RRy0UpjXXvuSLzfWqKWUh6LB6EeH2iQe9bTTtZ1bg1L1X4hLCUMy5j689oyQLLSy9G3zJL+rIvlBpDn9WCPiLH6e9eh+jFiSmcKIOReXFUqpJfp1O5HoBnq5zXPfxOFUueLOKJKC5cJh7kijqGa481ulWKSZECNXqdnHWsb8Z8LURKLrIA/QwN0nbtnVJJe3E18Yt0WyvdQ4I6wjonIkd31WoPAwwGx8WjIz9PrKNe5qbcVVcYtbzVX6j1GDZR/T9gR/WX MIME-Version: 1.0 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT043.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 5d82dd17-eed4-47db-aad9-08d777212dd5 Add support for Cortex-A76, Ares and Neoverse N1 cpu names in GCC8 branch. 2019-11-29 Wilco Dijkstra * config/aarch64/aarch64-cores.def (ares): Define. (cortex-a76): Likewise. (neoverse-n1): Likewise. * config/aarch64/aarch64-tune.md: Regenerate. * doc/invoke.texi (AArch64 Options): Document ares, cortex-a76 and neoverse-n1. diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def index 33b96ca2861dce506a854cff19cfcaa32f0db23a..f48b7c22b2d261203ac25c010a054e47c291ddfc 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -85,6 +85,9 @@ AARCH64_CORE("thunderx2t99", thunderx2t99, thunderx2t99, 8_1A, AARCH64_FL_FOR /* ARM ('A') cores. */ AARCH64_CORE("cortex-a55", cortexa55, cortexa53, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_F16 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa53, 0x41, 0xd05, -1) AARCH64_CORE("cortex-a75", cortexa75, cortexa57, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_F16 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa73, 0x41, 0xd0a, -1) +AARCH64_CORE("cortex-a76", cortexa76, cortexa57, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_F16 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa72, 0x41, 0xd0b, -1) +AARCH64_CORE("ares", ares, cortexa57, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_F16 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa72, 0x41, 0xd0c, -1) +AARCH64_CORE("neoverse-n1", neoversen1,cortexa57, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_F16 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa72, 0x41, 0xd0c, -1) /* ARMv8.3-A Architecture Processors. */ diff --git a/gcc/config/aarch64/aarch64-tune.md b/gcc/config/aarch64/aarch64-tune.md index 7b3a7460561ee87e13799f726919c3f870781f6d..f08b7e44b27beeb41df928cf3aa09e59e734b5d2 100644 --- a/gcc/config/aarch64/aarch64-tune.md +++ b/gcc/config/aarch64/aarch64-tune.md @@ -1,5 +1,5 @@ ;; -*- buffer-read-only: t -*- ;; Generated automatically by gentune.sh from aarch64-cores.def (define_attr "tune" - "cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,thunderxt81,thunderxt83,xgene1,falkor,qdf24xx,exynosm1,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55" + "cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,thunderxt81,thunderxt83,xgene1,falkor,qdf24xx,exynosm1,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,cortexa76,ares,neoversen1,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55" (const (symbol_ref "((enum attr_tune) aarch64_tune)"))) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c63f5611afb52b2358207a458dd6c275403a5a45..57340cea31df315ce37cfd57e084844da78df9fe 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -14747,6 +14747,7 @@ Specify the name of the target processor for which GCC should tune the performance of the code. Permissible values for this option are: @samp{generic}, @samp{cortex-a35}, @samp{cortex-a53}, @samp{cortex-a55}, @samp{cortex-a57}, @samp{cortex-a72}, @samp{cortex-a73}, @samp{cortex-a75}, +@samp{cortex-a76}, @samp{ares}, @samp{neoverse-n1} @samp{exynos-m1}, @samp{falkor}, @samp{qdf24xx}, @samp{saphira}, @samp{xgene1}, @samp{vulcan}, @samp{thunderx}, @samp{thunderxt88}, @samp{thunderxt88p1}, @samp{thunderxt81},