From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30052.outbound.protection.outlook.com [40.107.3.52]) by sourceware.org (Postfix) with ESMTPS id 3478F3938C21 for ; Mon, 7 Sep 2020 15:56:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3478F3938C21 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Alex.Coplan@arm.com 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=jyv2nHBm26K0AwL2bOIDFPJspz0bB5wuFggSVg8WSBk=; b=iLv8TElS8mT+HycXPRbrK6ybJcPBuuHWx0N3sDn8gyxcoITcOBRazXClwFqavhsZBcBCsTlzHwRgLRmUZ1luRv4o1w4oPlXh5e594zDyJq/bpwk8LqIR++rGBD9TQIL643jxmoGgQipqHpXccpn2ZBQ+t1jBHHLQgBEEZuuNelM= Received: from AM6P195CA0084.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:86::25) by HE1PR0801MB1723.eurprd08.prod.outlook.com (2603:10a6:3:7b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Mon, 7 Sep 2020 15:56:09 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:86:cafe::f2) by AM6P195CA0084.outlook.office365.com (2603:10a6:209:86::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15 via Frontend Transport; Mon, 7 Sep 2020 15:56:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; sourceware.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 AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.16 via Frontend Transport; Mon, 7 Sep 2020 15:56:08 +0000 Received: ("Tessian outbound 34b830c8a0ef:v64"); Mon, 07 Sep 2020 15:56:08 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 693cdfcd0307995e X-CR-MTA-TID: 64aa7808 Received: from 1bdfd8b3a633.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5DDD8B4B-EB58-4E65-A58F-A40C71BFE284.1; Mon, 07 Sep 2020 15:55:31 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1bdfd8b3a633.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 07 Sep 2020 15:55:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B8hgCjQgQRODUeD2Wk6fsq1YMSLxfEXZ/ti/qdD5Qp9RgjZCyNN3XdjOUQ3IQykHjcJtN5OCUiBH+7miZx2seQuYClnsh8ydx5/t7R+syqjXQzG1y3wj61CumnFDoTROjF1KKvSJsHoVDcK1wW0CRv0hh2MPkbA6bwp5MzUSAM68DtjvFlMHILBBo6YBIxSXw4iC4OJtw2P88TmkmM87Yqp2eBJTq8GdggZmeNPpyQiHThrn7Z+KRo2iy7d4luuaFnxxYZy35UiBGJn4lIoJGCL2XkEkUzVLO8UaK7jHXJlmlmA2SmINlgafxg5bvM13mTxESr/Wi2xkKwlo0mv36A== 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=jyv2nHBm26K0AwL2bOIDFPJspz0bB5wuFggSVg8WSBk=; b=BMzbltpgOHCjheOmd/ljDvfapNndQ3J05CcKyT0r7/eWLOtIEAnSJrpbshUqjkawJI+8HcxGgHMcqZ78VzsxKzikuXr4//HSnZWIvs3Cu/P5FGQ6nww0bD3myIue5/xnUfaBtboffviwclAWIT80SYrZwXJjsVGBX7/WnPkaNNrL77/qKtgnUHse5b5yfueS80IzIqQaC/9hEnmzkDrzlYTfBsfs5SsXIGG3kArmGRuP5Xg2eUh2/h+7AXcTEu7GqzUopJB41QJoDn/EIzuknmpQw8AXjhPwQNfIPVrLx2uDRLIVBCuTDPq4b/R7hp9A8B1SOcZKs853+gEUDqHKIg== 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=jyv2nHBm26K0AwL2bOIDFPJspz0bB5wuFggSVg8WSBk=; b=iLv8TElS8mT+HycXPRbrK6ybJcPBuuHWx0N3sDn8gyxcoITcOBRazXClwFqavhsZBcBCsTlzHwRgLRmUZ1luRv4o1w4oPlXh5e594zDyJq/bpwk8LqIR++rGBD9TQIL643jxmoGgQipqHpXccpn2ZBQ+t1jBHHLQgBEEZuuNelM= Authentication-Results-Original: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB4029.eurprd08.prod.outlook.com (2603:10a6:803:ec::14) by VI1PR08MB4464.eurprd08.prod.outlook.com (2603:10a6:803:fc::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Mon, 7 Sep 2020 15:55:28 +0000 Received: from VI1PR08MB4029.eurprd08.prod.outlook.com ([fe80::c194:c7c6:f09e:6f3d]) by VI1PR08MB4029.eurprd08.prod.outlook.com ([fe80::c194:c7c6:f09e:6f3d%7]) with mapi id 15.20.3348.019; Mon, 7 Sep 2020 15:55:28 +0000 Date: Mon, 7 Sep 2020 16:55:26 +0100 From: Alex Coplan To: binutils@sourceware.org Cc: Richard Earnshaw , Marcus Shawcroft Subject: [PATCH 4/4] aarch64: Add -mcpu option for Cortex-R82 Message-ID: <20200907155524.b7ij27ffbvvetqju@arm.com> Content-Type: multipart/mixed; boundary="6hk56vwtdhfgziod" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NeoMutt/20171215 X-ClientProxiedBy: LO2P265CA0300.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::24) To VI1PR08MB4029.eurprd08.prod.outlook.com (2603:10a6:803:ec::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.51) by LO2P265CA0300.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15 via Frontend Transport; Mon, 7 Sep 2020 15:55:28 +0000 X-Originating-IP: [217.140.106.51] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6b5488f5-0507-4656-e7ea-08d85346892d X-MS-TrafficTypeDiagnostic: VI1PR08MB4464:|HE1PR0801MB1723: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8273;OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: GNTGIQ9g1nn5uGDTQdDsZFC+h2zh9qmWfszOGPYt5pOYj1OfCORgXfnJv1Ksaf0nH4cBe5lw9G3BlPBLlOy/FKBqg1dHP5zdRlrvYFmnS9KlX+en42GDE7pnaV8Jpum+nzoY18KWlc/8WcdHjvKCmnleopuXNxl/tbcuyDAZWB3QZNQgQN1GPpAFhsCCnX3tab777+Wdqwtsox8yXAuNah2ne50tfCG3gekCXEwXqcd6OcGYxZJDTQPhrSOfrccyNEc7S3NrMJmhY6ZKb4VTa/8ZL0MQkO16TbQyDvVpqggSm7OL/7lnm2BaPzZbYz4DfXN0dOBJzWqBgfn02lKINzYbYiHQJfx55D9N5v68M26Bm0xAO4PwUAASi4tQEXQwBxEqzr9q+uneErVyUXSEcrSkxxzp3NGJ8kaJIqcnMO+BzBdo2SM/K3FtjbevprnDjUZzP6kukw6uUavZzMRmjg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB4029.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(396003)(376002)(366004)(39860400002)(26005)(66476007)(66946007)(66616009)(66556008)(1076003)(55016002)(8886007)(36756003)(83380400001)(33964004)(956004)(44144004)(966005)(8936002)(8676002)(316002)(2616005)(235185007)(7696005)(52116002)(16526019)(86362001)(478600001)(44832011)(6916009)(5660300002)(4326008)(2906002)(186003)(54906003)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: mUCgN4RfbzrSijE90yvdwJkL3AfTymmVsTnG92xzeGBfoOqhRyDjwuMjiD/jQpiGJSH153IPGrEKOa7G0k5OiUadhvd8OSCoDN61cViqkrOTCUVmwq8yFfNAXo4LPvbN8qdtWYWpctWnwRPDFCCNfQK1MeKgUWfQgKpNoY0UQXdqk0mWsa9ZTzU2fvKYgHxLeIDLBJhGEDgirseDJ51SsipAKgVaICcTh1QCo5RiEqLqh9WGNuFOemKNhs8XcLjiNwY+9n7ti31dTX2BFZN5s3dGu+tsxiv5mR6IhKGBPoWBFGOX6MYfwsWWSz6rtm/oZgfqF6oToQGgevpt9G1bTtaH/4Te60bfCqD6Aa+JhniGT7t07vRT9eV06aYdiO8TBmmXBGh/zsdysRxgR7ynr/LVSQah+yga1CK7jIIY5w4GRy/ohKQBg3yxw6/VKkmN23WT63v37e4d2bOvVSvp7ny1/uz+JXO73yUwuLzGtRH+HgmXxAIRnxmxhFfeAR3PXW6ydKIxsJYOWlM0/BGOeIYkzdZVXCATIEqUoydPmLW1uTwkNBiypLlReXPKnyfXegfuJenLsX2erdGdkZLtzAT1Mlr1ZJDIUeqcHj/mCkHiKjOcojWJac0h03n37dphwwVxpkqyg4C5brTlH3DQTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4464 Original-Authentication-Results: sourceware.org; dkim=none (message not signed) header.d=none; sourceware.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 37fac832-ce97-4550-6911-08d853467146 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Dbi872Zq571Bj9WbgXXmdNHCR2OThFck7MTYiumoPMSVkfsGro3jXN3dxZHrCXsh3E/I16PB4GQvJ7n5ghNY5Pws20N2mFRKLXpbVfu/LH+HoZyxUhydJxhvyVWIY8LPQhKNWIis23wE7C6NYsGm67anp/NBvQEIYZc1zU6IWcmQcxk7wsLOxS4vh9p3jk/DNWNztmuBx8xov3RUloZas+O0IUuCMEiDeWYjcQxfIa0lydTiMn6bKX9GdEOBN5NybvEOpnDZ93Fs9Ot2R+gwLbrcHLi2i/cuKhl0aMfJUKRmlSaL+rt41oXRo13y2E5ef8Ha9e0B/5VJu09ZWmZ7yhbLpWYv6nyJQDrxtEtpXRerxom+aXKPTxRbHd9tu547nAj0dbwYydiCKyOpmovFOrblJUo52l0iFPAyFDr4EUMkfU9V37kkBrQrsTNNYjOGTXfcmzf00INLbt7BUO2LbwEchVWeFUQDrJBRyDZveqTDSAMbhvo+6aRftkFV5ckU 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:(4636009)(376002)(39860400002)(346002)(136003)(396003)(46966005)(36756003)(55016002)(44832011)(86362001)(316002)(1076003)(8886007)(2616005)(478600001)(956004)(83380400001)(8936002)(5660300002)(8676002)(356005)(2906002)(235185007)(33964004)(66616009)(81166007)(7696005)(44144004)(36906005)(82740400003)(26005)(4326008)(47076004)(966005)(70586007)(6916009)(54906003)(70206006)(186003)(16526019)(336012)(82310400003)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2020 15:56:08.6644 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6b5488f5-0507-4656-e7ea-08d85346892d 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: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1723 X-Spam-Status: No, score=-14.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, KAM_NUMSUBJECT, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 15:56:13 -0000 --6hk56vwtdhfgziod Content-Type: text/plain; charset=utf-8; format=fixed Content-Disposition: inline This adds support for the Arm Cortex-R82 CPU in AArch64 GAS. For more information about this processor, see [0]. Testing: * Manually verified new -mcpu option works as expected. * Regression tested an x64 -> aarch64-none-elf cross. [0] : https://developer.arm.com/ip-products/processors/cortex-r/cortex-r82 --- gas/ChangeLog: 2020-09-04 Alex Coplan * config/tc-aarch64.c (aarch64_cpus): Add Cortex-R82. * doc/c-aarch64.texi: Document -mcpu=cortex-r82. --- gas/config/tc-aarch64.c | 1 + gas/doc/c-aarch64.texi | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) --6hk56vwtdhfgziod Content-Type: text/x-patch; charset=utf-8; name="0004-aarch64-Add-mcpu-option-for-Cortex-R82.patch" Content-Disposition: attachment; filename="0004-aarch64-Add-mcpu-option-for-Cortex-R82.patch" Content-Transfer-Encoding: 8bit diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index b2a1683efd2..391746e3e07 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8976,6 +8976,7 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { {"xgene1", AARCH64_ARCH_V8, "APM X-Gene 1"}, {"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC), "APM X-Gene 2"}, + {"cortex-r82", AARCH64_ARCH_V8_R, "Cortex-R82"}, {"generic", AARCH64_ARCH_V8, NULL}, {NULL, AARCH64_ARCH_NONE, NULL} diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index 89725a7e2f8..d8f2e19326f 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -78,8 +78,9 @@ on the target processor. The following processor names are recognized: @code{thunderx}, @code{vulcan}, @code{xgene1} +@code{xgene2}, and -@code{xgene2}. +@code{cortex-r82}. The special name @code{all} may be used to allow the assembler to accept instructions valid for any supported processor, including all optional extensions. --6hk56vwtdhfgziod--