From patchwork Fri Nov 11 15:08:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinath Parvathaneni X-Patchwork-Id: 18879 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp795562wru; Fri, 11 Nov 2022 07:09:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf7UproSj5MdPtJGuWT2h3tcpBWVTVtmd5zOcsL4syH/pPAa8Mal/K1p7VL7TuPxshO7lhXE X-Received: by 2002:a17:907:a604:b0:799:9ace:e868 with SMTP id vt4-20020a170907a60400b007999acee868mr2078914ejc.451.1668179379307; Fri, 11 Nov 2022 07:09:39 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ji16-20020a170907981000b00787e1d77943si2367640ejc.49.2022.11.11.07.09.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 07:09:39 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=xMs3aqo6; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B437B383D81A for ; Fri, 11 Nov 2022 15:09:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B437B383D81A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668179367; bh=CdE8BIDVkAxL2tV1ZwNuUdzpPNJ0I8J9VJ29x2JXupc=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=xMs3aqo65wIutghd59RarTuoM00wDh9jDgxvTAjYsJEDxbojGS7Xxagt/M6V2LRbp dHZ9nP3gx2yNvmTpPZkADaQKmxi2k3vbbPJZJ0Dkefs4ClSljEvVCbvwpy+bbcddJ8 12zDAJo7aEGBGsmf+Ff7BnclQXWl5tbZgdRhMRlg= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2088.outbound.protection.outlook.com [40.107.247.88]) by sourceware.org (Postfix) with ESMTPS id B21623858C29 for ; Fri, 11 Nov 2022 15:08:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B21623858C29 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=nxw4RpZkfj2acDN+ePZnNZ5ObV5JFpt/t+krU0b2S6VdsHHVepJlun7WlRpyU64R+1VD1oP52P5ENu4eu8R40ZuRL73//47QsCJDVpGMgnhHMxrZKISZub0R+hdmvHE2KKdkg6haEpxreOW3wL946Nh3ts4MSFjZRl0eXI7htpbzaKJDGVrQf0b+ZoQGVEFlekQeEAcQk1K/+mE9FEtUTknYuG30PzAs/fMpspcdt30m1Leu0VPFYUHPSUfjs7YvsMrdGlc9pCA8RnQ56roOoAb2QPOMpkASi5D85nG7op9mI9yRDTl0WGvmJfRpiTD3d/jB5sJV5mz3CC57ylHOdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CdE8BIDVkAxL2tV1ZwNuUdzpPNJ0I8J9VJ29x2JXupc=; b=XKVa13lLciVoCUbQEqrvGrEhxfkuZZadUOwifQ8fN8SUnO4m2UF0WEyJu6NqVZPW6zjxFct7YGJXLooWy/pLP8Z6QIfvYZ/tmtUBXFi+FEvJTQ8BL0pswcIKXlRe0gbPUJnnrhZOr1Tji9wLD4O4bI4VQINzL5Ok+yUKukEOPSX5ZVdDXEhp1OJ+uwY/JYrIofK5fXdFz5fCacZh3BA5tqEQLFfIKfpEEEREtqxkZqTf+MSjxFke8jhnZnNxmLKex5Q8Mjihl+MK0WPowccKXGHUD78PL26U5p95y/Ux7wif4Xa/Lmq6eyGJZEpvGKvUciRy1TWETUBRzMesYlgG2w== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) Received: from DB6PR1001CA0015.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:b7::25) by PAVPR08MB8824.eurprd08.prod.outlook.com (2603:10a6:102:2fd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 15:08:23 +0000 Received: from DBAEUR03FT010.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:b7:cafe::46) by DB6PR1001CA0015.outlook.office365.com (2603:10a6:4:b7::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13 via Frontend Transport; Fri, 11 Nov 2022 15:08:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass 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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT010.mail.protection.outlook.com (100.127.142.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.12 via Frontend Transport; Fri, 11 Nov 2022 15:08:23 +0000 Received: ("Tessian outbound 2ff13c8f2c05:v130"); Fri, 11 Nov 2022 15:08:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 61ff16f9ec299f65 X-CR-MTA-TID: 64aa7808 Received: from 71e563d7e62d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 590D33C6-E7D8-42B2-91FA-08D73C265AB9.1; Fri, 11 Nov 2022 15:08:15 +0000 Received: from EUR02-AM0-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 71e563d7e62d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 11 Nov 2022 15:08:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZigcO8N7Gv1R4FF7/hVhhGDBSQ4hyV1Y7bCI6Bixe8nzMDdB6flN6nUyOm8Cu0peoJ+8jfDJS8AtCUqLKuPL7Vj6s2yi4ovuL4CkJ5U0M5Vbri/jmCsjp3XJ08Ys7OKgo9Z007wgRClBlfZGVsIRw5B/qPW2vjgZ/qhMhV5B3o6+dkQ883Wxnhm9OawyHP/TZARiTfT4bWu5DPaA0qth4VeR1jiHMfaNeanUe+rmDK6HbQu9pWhNjsw2AqVd4MpA4zz6+P7IvoGFk3BTiM/qvZVmYob0Q2KVasE+BoablKsVMPKh4UoldL1Krq35asFRoPHWdaproygFTJ18q6qpA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CdE8BIDVkAxL2tV1ZwNuUdzpPNJ0I8J9VJ29x2JXupc=; b=Wi+8zqERB5sjHGzVrGxmK/dTJ+Jlw+GfyCpnykMMRnqEUUXKTsjL8D8G4fqfLdUhKKUNw+V8uVutBKGutdW3jXID3CkOeXRIS8RecKes65FvB3eAwF5/Zgj8J1DAEMDkKAZY1SyNb5J/1bU+hadij0K8sXJ6EQFq/PScWeBye05ZAadrIWe8GG8N6IXYnAnitdBtTXSe4RFLxyDnou9PCbuf6fkrxtHEfIvoE2ZvEf36SsAGdSmHPIkrUegk3otYmsfmAD5bqX9suazaZiV0mH6plsjpkwcJnYQzwbjcIizcwGuaC76JbjcPjo6S4yCs9N96RtLGNgovi1K4K3H0MA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none Received: from AS9PR06CA0088.eurprd06.prod.outlook.com (2603:10a6:20b:464::33) by DU0PR08MB8685.eurprd08.prod.outlook.com (2603:10a6:10:403::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Fri, 11 Nov 2022 15:08:13 +0000 Received: from VI1EUR03FT057.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:464:cafe::6) by AS9PR06CA0088.outlook.office365.com (2603:10a6:20b:464::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.14 via Frontend Transport; Fri, 11 Nov 2022 15:08:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by VI1EUR03FT057.mail.protection.outlook.com (100.127.144.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5813.12 via Frontend Transport; Fri, 11 Nov 2022 15:08:11 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Fri, 11 Nov 2022 15:08:04 +0000 Received: from e120703.arm.com (10.2.81.20) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Fri, 11 Nov 2022 15:08:04 +0000 MIME-Version: 1.0 To: CC: , Subject: [PATCH][GCC] aarch64: Add support for Cortex-X3 CPU. Date: Fri, 11 Nov 2022 15:08:04 +0000 Message-ID: <8996c099-7c59-494b-a517-ee52ff8d54d1@AZ-NEU-EX04.Arm.com> X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: VI1EUR03FT057:EE_|DU0PR08MB8685:EE_|DBAEUR03FT010:EE_|PAVPR08MB8824:EE_ X-MS-Office365-Filtering-Correlation-Id: b7fd0bf6-9f9c-408b-fef9-08dac3f6939f x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 1uE87fiqUSCh11u409h1M2l+I/mo51BuhE5ucX+7uHCgnzHfDbzcoG4Vj1FjFH2u4qnGab8HgXv2Hv8s2vMWrsztjsZ8skPxM0ogr+DiCYe0zYgxcUvgemQiIyy26FKZdervLrwP9RfJGu3O25jRnB5C/dDRHbSivRM1uZC7ecZw4ltTA5cvJJ3bpT60KCIsjWEXhtdl2o14txLsbBX1dfCqHOktAZzaUAUsdkRtD1fuPYR/kShVidGy9kwTqv55mUipKYP3Nn7NgEQTLpkUibTf58Dmyne27vvpL+4i1SQseE720pGYa+v3uSSKka3T1ZHcbHYGGrxGnGrUAdXn4IXoVTWK+ch+qQsPQmePCTiaO5s6HBfZPlbz6CrNOAE0ajsWdfbWWiax4VLeyX1DBeZc1sRSU9cF0AjjtKaPsXcd10hfgBdN9DnzP4dnAoP7k1IQeo1M2UN4HOeNtSzeaXP8OXSQa7VOG59GSf7ah6Ap0weywF54YibOge63khgRvbifvPtVzbJHlgqL4VoaeqBF+GWOBbaIjwBIXzwO270AzuGzpllKyhSPxBdVjCtaxQRAfC8mQj0exEPt6MYb5cI7qbIkHPCOq/So66Wk7HhgH8LB4AQ3tWW3qgAQCuol3LWoCUJxpigyDB+5ylOvrci0MaOa2nQyGT4FzgLgBSz8ILqMxwIkuqWVIW7e71elQEV8UJ7w4Rv/39EhQc0y60wbuEghKRRxfkvyBwRi0uo1iqCZIOhVmo2JDStUuteLwJQnqRRDS2eQp4FdZ8LGsiwfHsn19Mq6JTBTqw0EA0shW0i+3CozWen/3FiXIVyI X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(346002)(396003)(136003)(376002)(451199015)(46966006)(40470700004)(36840700001)(6916009)(54906003)(70586007)(40460700003)(5660300002)(316002)(235185007)(70206006)(31686004)(41300700001)(81166007)(356005)(86362001)(82740400003)(31696002)(26005)(47076005)(186003)(336012)(426003)(33964004)(478600001)(82310400005)(2906002)(8676002)(4326008)(8936002)(36860700001)(40480700001)(44832011)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8685 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT010.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 4aee1066-9146-412d-d92e-08dac3f68c86 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v+//oZnxuCq2W8bzVLABjgn/HH0PQ9M2lJwu0kpilLGlkbycgGgSYItBNJ34T/rWfm8DZ5ro1B70SWCCtA5xNba5KRcLdohK7DxSiygbe4PjG5A8sM+PsXX9FoRPcisSD/8JdJOLh6lSf6i2oJMwjZbqMF5FKIEA3K8CxZQaHijzRkQOcCMKgwkZTPrEMQqXn+e5xXL+yM/ifvfT7bwToDjBwnKjF+NgWSW/3qAu3+aOAzaGyJCHNs+NDv58h/WXAtbor3b9C5SrAIskDwSJ7b/nVu86kel22rCxOZcPFvr+ixeJAMi6e4KuQH2vNCj8ZFwyG+DIfcFm+rDjdZ/JtY/0mUtk1mrZEVYBqB26+CErgPH3wNNOqMJzdbzQXyUIkuzJ3Srpvs6lucYENlXiyBEM8EvVM7S+d93gpryxsLeZByLfiG0Nu3y8KtOaboBZpfp6krXjzXsyaep+VbmhBPrO9OgebYQJwidhsS+z3WOzrKHjFRJvjw+BceNfMeUuBQJAKBd/bhQcKQTrx9h2bkxZ2HXtX9r++h8lFhA04yQjF5XQCcOQjQuyY+Yc0UI1FMMbCbxUI8UlfyxOXg6mQ6I0sgwrhHqKmj1Qn8TXrCG9VG9BwTqed4pu1B0phZqgwOVtuyhxcr8DywN4mYs4Pcry43+2Dv/oBOmRsE42SBLASXdVg0L/OpAptn48SOFHhLE4mz8bgZfhLSHoERz7Eu/etxWn5TdXLJk3Qt/VhFJ26qtX6sYVAAqvo0FlvTt8IAbvtaxVAZ+FDAfhZSlmvA== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(396003)(376002)(346002)(136003)(451199015)(36840700001)(46966006)(40470700004)(82310400005)(44832011)(8936002)(36860700001)(40480700001)(235185007)(81166007)(5660300002)(41300700001)(54906003)(2906002)(8676002)(6916009)(478600001)(316002)(70586007)(4326008)(336012)(186003)(70206006)(31686004)(426003)(82740400003)(33964004)(86362001)(47076005)(40460700003)(26005)(31696002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 15:08:23.2297 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b7fd0bf6-9f9c-408b-fef9-08dac3f6939f X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT010.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB8824 X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, KAM_LOTSOFHASH, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Srinath Parvathaneni via Gcc-patches From: Srinath Parvathaneni Reply-To: Srinath Parvathaneni Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749212860829824921?= X-GMAIL-MSGID: =?utf-8?q?1749212860829824921?= Hi, This patch adds support for Cortex-X3 CPU. Bootstrapped on aarch64-none-linux-gnu and found no regressions. Ok for GCC master? Regards, Srinath. gcc/ChangeLog: 2022-11-09 Srinath Parvathaneni * config/aarch64/aarch64-cores.def (AARCH64_CORE): Add Cortex-X3 CPU. * config/aarch64/aarch64-tune.md: Regenerate. * doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst: Document Cortex-X3 CPU. ############### Attachment also inlined for ease of reply ############### diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def index 3055da9b268b6b71bc3bd6db721812b387e8dd44..a2062468136bf1c38b941c53868d26dafedda276 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -172,6 +172,8 @@ AARCH64_CORE("cortex-a715", cortexa715, cortexa57, V9A, (SVE2_BITPERM, MEMTAG, AARCH64_CORE("cortex-x2", cortexx2, cortexa57, V9A, (SVE2_BITPERM, MEMTAG, I8MM, BF16), neoversen2, 0x41, 0xd48, -1) +AARCH64_CORE("cortex-x3", cortexx3, cortexa57, V9A, (SVE2_BITPERM, MEMTAG, I8MM, BF16), neoversen2, 0x41, 0xd4e, -1) + AARCH64_CORE("neoverse-n2", neoversen2, cortexa57, V9A, (I8MM, BF16, SVE2_BITPERM, RNG, MEMTAG, PROFILE), neoversen2, 0x41, 0xd49, -1) AARCH64_CORE("demeter", demeter, cortexa57, V9A, (I8MM, BF16, SVE2_BITPERM, RNG, MEMTAG, PROFILE), neoversev2, 0x41, 0xd4f, -1) diff --git a/gcc/config/aarch64/aarch64-tune.md b/gcc/config/aarch64/aarch64-tune.md index 22ec1be5a4c71b930221d2c4f1e62df57df0cadf..74c4384712b202058a58f1da0ca28adec97a6b9b 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" - "cortexa34,cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,octeontx,octeontxt81,octeontxt83,thunderxt81,thunderxt83,ampere1,emag,xgene1,falkor,qdf24xx,exynosm1,phecda,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,cortexa76,cortexa76ae,cortexa77,cortexa78,cortexa78ae,cortexa78c,cortexa65,cortexa65ae,cortexx1,cortexx1c,ares,neoversen1,neoversee1,octeontx2,octeontx2t98,octeontx2t96,octeontx2t93,octeontx2f95,octeontx2f95n,octeontx2f95mm,a64fx,tsv110,thunderx3t110,zeus,neoversev1,neoverse512tvb,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55,cortexa76cortexa55,cortexr82,cortexa510,cortexa710,cortexa715,cortexx2,neoversen2,demeter,neoversev2" + "cortexa34,cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,octeontx,octeontxt81,octeontxt83,thunderxt81,thunderxt83,ampere1,emag,xgene1,falkor,qdf24xx,exynosm1,phecda,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,cortexa76,cortexa76ae,cortexa77,cortexa78,cortexa78ae,cortexa78c,cortexa65,cortexa65ae,cortexx1,cortexx1c,ares,neoversen1,neoversee1,octeontx2,octeontx2t98,octeontx2t96,octeontx2t93,octeontx2f95,octeontx2f95n,octeontx2f95mm,a64fx,tsv110,thunderx3t110,zeus,neoversev1,neoverse512tvb,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55,cortexa76cortexa55,cortexr82,cortexa510,cortexa710,cortexa715,cortexx2,cortexx3,neoversen2,demeter,neoversev2" (const (symbol_ref "((enum attr_tune) aarch64_tune)"))) diff --git a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst index d97515d9e54feaa85a2ead4e9b73f0eb966cb39f..7cc369ef95e510e30873159b8e2130c4f77a57d3 100644 --- a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst +++ b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst @@ -258,8 +258,8 @@ These options are defined for AArch64 implementations: :samp:`cortex-a73.cortex-a35`, :samp:`cortex-a73.cortex-a53`, :samp:`cortex-a75.cortex-a55`, :samp:`cortex-a76.cortex-a55`, :samp:`cortex-r82`, :samp:`cortex-x1`, :samp:`cortex-x1c`, :samp:`cortex-x2`, - :samp:`cortex-a510`, :samp:`cortex-a710`, :samp:`cortex-a715`, :samp:`ampere1`, - :samp:`native`. + :samp:`cortex-x3`, :samp:`cortex-a510`, :samp:`cortex-a710`, + :samp:`cortex-a715`, :samp:`ampere1`, :samp:`native`. The values :samp:`cortex-a57.cortex-a53`, :samp:`cortex-a72.cortex-a53`, :samp:`cortex-a73.cortex-a35`, :samp:`cortex-a73.cortex-a53`, diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def index 3055da9b268b6b71bc3bd6db721812b387e8dd44..a2062468136bf1c38b941c53868d26dafedda276 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -172,6 +172,8 @@ AARCH64_CORE("cortex-a715", cortexa715, cortexa57, V9A, (SVE2_BITPERM, MEMTAG, AARCH64_CORE("cortex-x2", cortexx2, cortexa57, V9A, (SVE2_BITPERM, MEMTAG, I8MM, BF16), neoversen2, 0x41, 0xd48, -1) +AARCH64_CORE("cortex-x3", cortexx3, cortexa57, V9A, (SVE2_BITPERM, MEMTAG, I8MM, BF16), neoversen2, 0x41, 0xd4e, -1) + AARCH64_CORE("neoverse-n2", neoversen2, cortexa57, V9A, (I8MM, BF16, SVE2_BITPERM, RNG, MEMTAG, PROFILE), neoversen2, 0x41, 0xd49, -1) AARCH64_CORE("demeter", demeter, cortexa57, V9A, (I8MM, BF16, SVE2_BITPERM, RNG, MEMTAG, PROFILE), neoversev2, 0x41, 0xd4f, -1) diff --git a/gcc/config/aarch64/aarch64-tune.md b/gcc/config/aarch64/aarch64-tune.md index 22ec1be5a4c71b930221d2c4f1e62df57df0cadf..74c4384712b202058a58f1da0ca28adec97a6b9b 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" - "cortexa34,cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,octeontx,octeontxt81,octeontxt83,thunderxt81,thunderxt83,ampere1,emag,xgene1,falkor,qdf24xx,exynosm1,phecda,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,cortexa76,cortexa76ae,cortexa77,cortexa78,cortexa78ae,cortexa78c,cortexa65,cortexa65ae,cortexx1,cortexx1c,ares,neoversen1,neoversee1,octeontx2,octeontx2t98,octeontx2t96,octeontx2t93,octeontx2f95,octeontx2f95n,octeontx2f95mm,a64fx,tsv110,thunderx3t110,zeus,neoversev1,neoverse512tvb,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55,cortexa76cortexa55,cortexr82,cortexa510,cortexa710,cortexa715,cortexx2,neoversen2,demeter,neoversev2" + "cortexa34,cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,octeontx,octeontxt81,octeontxt83,thunderxt81,thunderxt83,ampere1,emag,xgene1,falkor,qdf24xx,exynosm1,phecda,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,cortexa76,cortexa76ae,cortexa77,cortexa78,cortexa78ae,cortexa78c,cortexa65,cortexa65ae,cortexx1,cortexx1c,ares,neoversen1,neoversee1,octeontx2,octeontx2t98,octeontx2t96,octeontx2t93,octeontx2f95,octeontx2f95n,octeontx2f95mm,a64fx,tsv110,thunderx3t110,zeus,neoversev1,neoverse512tvb,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55,cortexa76cortexa55,cortexr82,cortexa510,cortexa710,cortexa715,cortexx2,cortexx3,neoversen2,demeter,neoversev2" (const (symbol_ref "((enum attr_tune) aarch64_tune)"))) diff --git a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst index d97515d9e54feaa85a2ead4e9b73f0eb966cb39f..7cc369ef95e510e30873159b8e2130c4f77a57d3 100644 --- a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst +++ b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/aarch64-options.rst @@ -258,8 +258,8 @@ These options are defined for AArch64 implementations: :samp:`cortex-a73.cortex-a35`, :samp:`cortex-a73.cortex-a53`, :samp:`cortex-a75.cortex-a55`, :samp:`cortex-a76.cortex-a55`, :samp:`cortex-r82`, :samp:`cortex-x1`, :samp:`cortex-x1c`, :samp:`cortex-x2`, - :samp:`cortex-a510`, :samp:`cortex-a710`, :samp:`cortex-a715`, :samp:`ampere1`, - :samp:`native`. + :samp:`cortex-x3`, :samp:`cortex-a510`, :samp:`cortex-a710`, + :samp:`cortex-a715`, :samp:`ampere1`, :samp:`native`. The values :samp:`cortex-a57.cortex-a53`, :samp:`cortex-a72.cortex-a53`, :samp:`cortex-a73.cortex-a35`, :samp:`cortex-a73.cortex-a53`,