From patchwork Fri Oct 4 17:54:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Carlotti X-Patchwork-Id: 1992946 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=aI8nU54K; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=aI8nU54K; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKx5t2ttcz1xsn for ; Sat, 5 Oct 2024 03:55:14 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 981F2386F474 for ; Fri, 4 Oct 2024 17:55:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20601.outbound.protection.outlook.com [IPv6:2a01:111:f403:2613::601]) by sourceware.org (Postfix) with ESMTPS id 9C0263842588 for ; Fri, 4 Oct 2024 17:54:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C0263842588 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9C0263842588 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2613::601 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1728064461; cv=pass; b=UNAPtiUdlD7YHClHTUzux/Ho3QOoKjUqTzCjpeQN6Z6MWlegJhH1RgPJ2at9cUiaWjkXp5M1uYeHS3CPA6vuxsLTHaF2PO8rDA+bh9y2BdaDB/wHXAkeWhpgrrs6/7EDEjWYIG0Vec787RhwhT+shz3px7DHHId5BezU/wQRGFE= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1728064461; c=relaxed/simple; bh=A4Y/0zJg6MFh6m24FFrr6zKu9+Enwo3jAflz57AEfYc=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=PvcgCCVJJc+m3PhYmNl9YbcxcrAsvrG28lDkb0TjrxwVeUULMlXOXvOxc6R3hD7jm5liJKv5AD9PCBtGjlGGL160lUHImCBjctQt0VKZeVLiom6nZG/8jPG3MF1jRCVanLMiPR6ti+cq9Cxhm5VbEJfnQqJqwKYRkU5o+uYPzLA= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=u94n/qWyvLniPassN19kJAwxkG1rxMjIaENCgkexpjZCSSuVhclDX1yZ0PeFn5vB8hDjYJj831XJ7AeePBq7bbpGIaFn/83H3YiU6Fbs9Kpq8n50axoAg6Y6BHzotEAzQvdhGtevW1C0I8SZoeLSeYOo1EKsgvxxpaEYVk9NkCoMnWPJRPjqXeSo4U5HZM4yJRVyPc/NSqAf5IWQ1zERehIsTNH8b4diH4sPHz1BkEc3vW8JOlwgTtSGygcRxebXZIJLoR7/3sSEs9DACtSWNtfsRj5pAfU+ijy+kR6muntxkNjqzbgfOEdD2Fjyx4Nq6zJoFblaLnXknr0EomfutA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=jli4vI0JPNowR4YgR10azX61utMHciahFYK+Voh4d+s=; b=pB3wYWSsgM3zSAeNvJBTnlYhFNo95WDtBjDYkMHIEo/2Uc4G6xtLB6mpVGJ+PI1UNTGkcJa56FEtmWE4hrLgSk+CylYc47Aw0w5yGi+egf5k6Ap6QG9SltGOc9EfqKvWvXjiUDU7VWtbVz9JJCraoRMRMlw5rcqGOin9EEHNcrLkb04HvtVTIgbfjQRua2Ty7uhRS/PulA4GupWlj3QxR8sxBmzp5fdCHQ6KP0/hopcqYUoFcYQclSVh6f+l3ClQ3kTURUVR3UwU8VhLLoY8K44hagzxfA5C/S6ndYBdXJOu7wemoe+tczsl8aC+fAascTD1SjbaAYz4djyM0cPKig== 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=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jli4vI0JPNowR4YgR10azX61utMHciahFYK+Voh4d+s=; b=aI8nU54K7kDUTKXLNCIYv7zXUhrXSzbNt1dIS8qgHInd2z7NjKF5+lspwNi2nHRhdM3f4U2oPSzfkjWYtYw+Un0JZgX6GCrqIAtYoO2nmDBVCNPZFzgV+GL7+y1ixPgJwuT3Jaw9C8mnT0YGRoRzhupGWXF8nuoJm5AFHNpmVow= Received: from AM6P192CA0084.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:8d::25) by DB3PR08MB8985.eurprd08.prod.outlook.com (2603:10a6:10:43f::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.18; Fri, 4 Oct 2024 17:54:12 +0000 Received: from AMS0EPF00000199.eurprd05.prod.outlook.com (2603:10a6:209:8d:cafe::5) by AM6P192CA0084.outlook.office365.com (2603:10a6:209:8d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.18 via Frontend Transport; Fri, 4 Oct 2024 17:54:12 +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=arm.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 AMS0EPF00000199.mail.protection.outlook.com (10.167.16.245) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Fri, 4 Oct 2024 17:54:11 +0000 Received: ("Tessian outbound 994fc319cf83:v473"); Fri, 04 Oct 2024 17:54:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5d9a03bcedb57b99 X-TessianGatewayMetadata: j1ojCIXTuPNpvq6XKT+zQKUagPg9DOE/0g4i8yOuav1UpbqCjIdNvE25WmKHkJmirXnXN/KI7Aj8de+cD8KPruhdQmukPhlMAxfGECrA+iQg4XUoJn/VoulvAJ6Z+0D91oCN86K/YgZZ5FVSAE7h2jTOoybwG1VR/S8FwfteAuPgTAn+b/oNBtZ7/bG8c3qy X-CR-MTA-TID: 64aa7808 Received: from L553f2b095053.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D972D2AD-C171-4AC6-B13B-8785DDD6DA34.1; Fri, 04 Oct 2024 17:54:04 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L553f2b095053.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 04 Oct 2024 17:54:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wyke6pgQC9VDT8jhIJjEpscNvrkkSrNqmioZSNAlk/4VY12adEM6Qqx6AW/2n+unkrhnAB0IpDb8uzmjKFVula4ZU/f7A3XL7hY/dVfs2N8rDpjIRlAyMmWX160KLMrugGGZscc+Oq0m7kHeWL5cePv3N/mRaXw35iG/RwILINBY6Z6NL6hc67MqNEqhfokciLmDQqWN0F8ChJioNbjiNaW01oHlxbOetpd9LcownMaKseQBRkSlXqhD6hMxXWvDgJdCeUYkd78g0JTY/ntFVGpA+EQfcdbuZhmh1/eb+0YmnKklRiK17Wu3BE7rB3Q+f/7ybm3YrdhmJpewSo2e8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=jli4vI0JPNowR4YgR10azX61utMHciahFYK+Voh4d+s=; b=EaOa+wVJH0POtuXhCcrWRp5W3LZELNHKGhtETxEYBDKJ1O9tppg42nGMvdgBnkEY4WxQlL2VKfcwbCSg/9VwPOXzH3HPxXgz4/GHWYemA+OqPwa+mx6F5ij6gNcMMGnGRnpW5mHA2Acg7SxFq5AUv4EwS98AiXwQUgGtqW3ix67K8pdEuDO1js/f3I3SZElwRtU5XGB20HZ4IAukWBmmLObuFRzYbtOu6bys1sxkEL/68sqcIGo3WViRIEjYwqTCCy/Unljogqlk7eAe9e2npPqmrfz40tFHMJCcJzGolMJhCbIFpA20jPB3qvnLyYKjWlgDkz9DQFWYQ82a6e3mPQ== 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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jli4vI0JPNowR4YgR10azX61utMHciahFYK+Voh4d+s=; b=aI8nU54K7kDUTKXLNCIYv7zXUhrXSzbNt1dIS8qgHInd2z7NjKF5+lspwNi2nHRhdM3f4U2oPSzfkjWYtYw+Un0JZgX6GCrqIAtYoO2nmDBVCNPZFzgV+GL7+y1ixPgJwuT3Jaw9C8mnT0YGRoRzhupGWXF8nuoJm5AFHNpmVow= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DU0PR08MB8255.eurprd08.prod.outlook.com (2603:10a6:10:411::9) by AS8PR08MB9527.eurprd08.prod.outlook.com (2603:10a6:20b:61d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.8; Fri, 4 Oct 2024 17:54:02 +0000 Received: from DU0PR08MB8255.eurprd08.prod.outlook.com ([fe80::cbc8:c020:6a1b:d27a]) by DU0PR08MB8255.eurprd08.prod.outlook.com ([fe80::cbc8:c020:6a1b:d27a%5]) with mapi id 15.20.8026.017; Fri, 4 Oct 2024 17:54:02 +0000 Date: Fri, 4 Oct 2024 18:54:00 +0100 From: Andrew Carlotti To: gcc-patches@gcc.gnu.org Cc: Richard Sandiford Subject: [PATCH 6/8] aarch64: Add new +rcpc2 flag Message-ID: <75c96ec3-ea4d-3fa2-2abd-d99cda5e26a9@e124511.cambridge.arm.com> References: Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO4P123CA0500.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1ab::19) To DU0PR08MB8255.eurprd08.prod.outlook.com (2603:10a6:10:411::9) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DU0PR08MB8255:EE_|AS8PR08MB9527:EE_|AMS0EPF00000199:EE_|DB3PR08MB8985:EE_ X-MS-Office365-Filtering-Correlation-Id: b896d091-6af9-40be-b926-08dce49d8d7c x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info-Original: yg2RoproMMlTyvPYLyIS21a/LO2RRBPnla5qFKJLotC66lhmUnENz0O1xOB7rf85SNL9WVD+ACh19ZdfDo6yC4Ssk/uBui+yah2wFJbnfJlT9448zROZ231Mbu1qG0r4iZifm4aVN+dGP/ZpuLPqJj9SwOcupjXVo0FEZv/IGO/oFA7K1qQvn6r3vi/Sc9+zjNtUxJHbaMi3+dsN/8PvJ0H1IeIsgqmfelJpREELPni3fT9Co+NtvodWADuolYnfmHHPQZrOffqVedMXfG56kqukEKTzp/LMG1HWThhWoU2HQKd403mTyjxjHelVftDO3hMDjvSYxh5GovITGu3cru6Wzt5m18xrqde1MhZOB4NQHV07KgnC1ywcD689sbNqE2Ujos/AipyLd3/oaOpqlxFpzcv0JUEI8GdKEfrhXHk6smpaaNHiDbUms/gIDyIQfXYUP+O6DPivctDwbrzsjrO3heqGYi7b8/FpYUGofNOwBHYeihJkRYzwnB5eXKXnm/ohaBbjji+SV0i2fGYsfs4nI9Cg6Cj+Zi8vUQwxSueUCwsRJAKYwczK3iEQtV+EbvKIaXo3/LQejXxwV6k9O5esfDSfnlQrv0/yi3I54PB7UcNnRKN4KpwXFD81yZunMS8GX759lCiPTeSCFjgo9A1NlEL4KVo1J0H61HQFGNOfx/HZyWgSURhMo8uYRYgILiKkCr7BencH/fJB/sKX+vQFE+XjvaVt5jXWAqPSfkSPMVY0FODBcZYJnloffofg0mMYQ5aS/Gj5EQenJPb2XplCrinrJUuwgXD52dB36l0t9uy6r7tiLb4vHy+TDVQEbql+sK8yXmVE/gdqrHasTLC4Sx2WpXnTo3gDaFA0X6zuwC2XXBNHiLzgDAdhyjyiDEOy0CCY8yhOJpirzYwXW3/niXlUwnJUNEk9XpwYyQ4SrzsZrvX1VyeJdcRoThmkKq8ZjaAaCsZ1MRMBsADpohaW0rajc7S4ZHkBwJ0qu761cyAmO+kFo/L4OCS3sJ/O+W5d9BdcH0qJV8dq8xE9pgcH/EmdqhfYNiq4bjj4wbSAk3F+dMjJuGfL4hhGVKxLvW8ULeEXneAMekzImvOcD5r5P50crwoAD6wjs6klGk2RVcBK+2cwRFnsqtJz6IimE6Go8aJZQBeVLtZX9gR//lEP+1EBQ50HK3DdBTQ8rdSyUPjpVXDmSeoKtga3lam26vXVB5bvmK91vQPfB0xi7rPr0MTG7S1gcmPQSP3dAcs= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR08MB8255.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9527 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:10:411::9]; domain=DU0PR08MB8255.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF00000199.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 62490de3-483d-456a-6035-08dce49d87f6 X-Microsoft-Antispam: BCL:0; ARA:13230040|35042699022|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: DcRhAGkeslGLsLpRMwq6Axn8Te1WdKc+bE8pPlrpRkdZ/EHrTP+m7cjJhqzgKAtKVTRxo7XgnmhUjOqB3vYFmvCPMxLJhz3P9OuV4+0sksoqnydspe4thoIxor4Dydag+niTpOhU4fMbM+REoEHx46fMyE9AHVrWiR3eRsxBUio4YEzjQgEdswS9uZ+BxS3XaQqbdNITjHfu67pwEgXeox4/94bQ9Cy17Y3RIMCgW2TDQ04JXbVt5pTZoRYHSS2zK2zWvsdo5fKZ9s3A4tJ+U8aJ/4WNoKzMadbqKppmyiJi8+M9D0FTl/bR8Qs7FHl+Cb+DUiV7hXEqNb5D55LmQ10bnkPmDPl9hKwsdFIekOi71o9fTK64Skku8KTaFs9VcAug/0rMAXYwhTITLiIjzSG15esIKQpUXctkMHGe6eRiFu1XLW8I0qgW+S7tZ8ChVtn3lxoJrBLnJViQeeF7um5Sm1wSzAgSxBMxYWS8GXZqqIn1G/QTpP4DyYxblS+O3kg/RItv5m2/RPSHtyO3T493cbDkf+h2ZyqaWVUe++GcCErBnqn22i9i/G2Oj9r0/7uFL7l0qNzuCYq0RsEqi4FQMgSJDAxsumoLI9HM6dgVu7kdbwOMfnNRVPjRdT6hl8d4pcX/gfy1EBQ5NX0yv0NPe6+doAGhy0EiBuGwTYcZPXfWKZ7DuaueqBp9IWjpTN5l71nLdP+WbM+ETEmO5cLQxLfqB7DqOiD8ChuaUV94TcuwSWjbJlgpUHjiKpOTuFSAIqT3F/O3KNGByrLmMRHIun+G0WIv0ppUuj1XTVY3TuzNOBDQHF9NF/AgtY6lFsMKAVm+XrponCKBpknQVZEj6Xd84uhKFM9371QvKJcjccgUUWe7gNz29nX5gKaZBDNkkRfu/CpSZiVN1MpWn1F/c8RniJub0B6/merV/HLU2QfFGlfhuXIOJeU+nd7v3VaSU6jQswKcSC+7U//QNs8j7sZbAS5anYTKstj5DoI8kYjn9gaknjB6sM6VQ8503ranxEccuxSSHB6JL6O6cyiiuup5eRQSrmFeJLi7rNG/DK4M2SUEm6hXpJoQ9yQJB0F75RiqLruOI/54GOJl88wEcOcBF6uXn+mflrrqcb6ZqhV4MNkqkTrVPq3oJRjtELa6r6QoOe1AFlWydiReQaelBItsLv8e/V/C5SNyECQiujJbnpGRCKOWTMNcwPN6/KM4nDM2PKk556mYAIeOBAErgyrLw0GvcrhuwgwbtgIvOJRkaHqUWQ6WEB6gt2z4rwf4U4ivFm3mMiptY+80hKOH80GklPUV2TcGZwDHK46yw8tWn2bhio5osJQs5YckgrPY/AFJ1HppnhI+agzJmw== 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:(13230040)(35042699022)(36860700013)(1800799024)(376014)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2024 17:54:11.3746 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b896d091-6af9-40be-b926-08dce49d8d7c 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: AMS0EPF00000199.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR08MB8985 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, KAM_LOTSOFHASH, KAM_SHORT, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org gcc/ChangeLog: * config/aarch64/aarch64-arches.def (V8_4A): Add RCPC2. * config/aarch64/aarch64-option-extensions.def (RCPC2): New flag. (RCPC3): Add RCPC2 dependency. * config/aarch64/aarch64.h (TARGET_RCPC2): Use new flag. gcc/testsuite/ChangeLog: * gcc.target/aarch64/cpunative/native_cpu_21.c: Add rcpc2 to expected feature string instead of rcpc. * gcc.target/aarch64/cpunative/native_cpu_22.c: Ditto. diff --git a/gcc/config/aarch64/aarch64-arches.def b/gcc/config/aarch64/aarch64-arches.def index 84782d55089650b5854c60497bc68f9564d6f90b..f182d3dc6c77bf63ab272ab1b5824c1523390e09 100644 --- a/gcc/config/aarch64/aarch64-arches.def +++ b/gcc/config/aarch64/aarch64-arches.def @@ -34,7 +34,7 @@ AARCH64_ARCH("armv8-a", generic_armv8_a, V8A, 8, (SIMD)) AARCH64_ARCH("armv8.1-a", generic_armv8_a, V8_1A, 8, (V8A, LSE, CRC, RDMA)) AARCH64_ARCH("armv8.2-a", generic_armv8_a, V8_2A, 8, (V8_1A)) AARCH64_ARCH("armv8.3-a", generic_armv8_a, V8_3A, 8, (V8_2A, PAUTH, RCPC, FCMA, JSCVT)) -AARCH64_ARCH("armv8.4-a", generic_armv8_a, V8_4A, 8, (V8_3A, F16FML, DOTPROD, FLAGM)) +AARCH64_ARCH("armv8.4-a", generic_armv8_a, V8_4A, 8, (V8_3A, F16FML, DOTPROD, FLAGM, RCPC2)) AARCH64_ARCH("armv8.5-a", generic_armv8_a, V8_5A, 8, (V8_4A, SB, SSBS, PREDRES, FRINTTS, FLAGM2)) AARCH64_ARCH("armv8.6-a", generic_armv8_a, V8_6A, 8, (V8_5A, I8MM, BF16)) AARCH64_ARCH("armv8.7-a", generic_armv8_a, V8_7A, 8, (V8_6A)) diff --git a/gcc/config/aarch64/aarch64-option-extensions.def b/gcc/config/aarch64/aarch64-option-extensions.def index b73324abbeb6145b5a2c26fdb22f41de9b6045d9..b929773eba176a391d6e9242067e4f63e4434637 100644 --- a/gcc/config/aarch64/aarch64-option-extensions.def +++ b/gcc/config/aarch64/aarch64-option-extensions.def @@ -159,7 +159,9 @@ AARCH64_OPT_FMV_EXTENSION("fcma", FCMA, (SIMD), (), (), "fcma") AARCH64_OPT_FMV_EXTENSION("rcpc", RCPC, (), (), (), "lrcpc") -AARCH64_OPT_FMV_EXTENSION("rcpc3", RCPC3, (RCPC), (), (), "lrcpc3") +AARCH64_OPT_FMV_EXTENSION("rcpc2", RCPC2, (RCPC), (), (), "ilrcpc") + +AARCH64_OPT_FMV_EXTENSION("rcpc3", RCPC3, (RCPC2), (), (), "lrcpc3") AARCH64_OPT_FMV_EXTENSION("frintts", FRINTTS, (FP), (), (), "frint") diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 41430466b50bf223bf008c753d24f57570c1f2e5..3ed1930d3e4ac9f250219a43aa91cb8ed123f53c 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -427,7 +427,7 @@ constexpr auto AARCH64_FL_DEFAULT_ISA_MODE ATTRIBUTE_UNUSED /* The RCPC2 extensions from Armv8.4-a that allow immediate offsets to LDAPR and sign-extending versions.*/ -#define TARGET_RCPC2 ((AARCH64_HAVE_ISA (V8_4A) && TARGET_RCPC) || TARGET_RCPC3) +#define TARGET_RCPC2 AARCH64_HAVE_ISA (RCPC2) /* RCPC3 (Release Consistency) extensions, optional from Armv8.2-a. */ #define TARGET_RCPC3 AARCH64_HAVE_ISA (RCPC3) diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_21.c b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_21.c index c1d5896e1eb0b3b48ac0c1eeb95a74c4b6ec9e85..904cdf452263961442f3ecc31cd1b6563130f9c7 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_21.c +++ b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_21.c @@ -7,7 +7,7 @@ int main() return 0; } -/* { dg-final { scan-assembler {\.arch armv8-a\+flagm2\+lse\+dotprod\+rdma\+crc\+fp16fml\+jscvt\+rcpc\+frintts\+i8mm\+bf16\+sve2-aes\+sve2-bitperm\+sve2-sha3\+sve2-sm4\+sb\+ssbs\n} } } */ +/* { dg-final { scan-assembler {\.arch armv8-a\+flagm2\+lse\+dotprod\+rdma\+crc\+fp16fml\+jscvt\+rcpc2\+frintts\+i8mm\+bf16\+sve2-aes\+sve2-bitperm\+sve2-sha3\+sve2-sm4\+sb\+ssbs\n} } } */ /* Check that an Armv8-A core doesn't fall apart on extensions without midr values. */ diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_22.c b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_22.c index 4533a2bf5912dc609327b63164ba4577e98f9eec..feb959b11b0e383a5e1f3214d55f80f56d2605d4 100644 --- a/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_22.c +++ b/gcc/testsuite/gcc.target/aarch64/cpunative/native_cpu_22.c @@ -7,7 +7,7 @@ int main() return 0; } -/* { dg-final { scan-assembler {\.arch armv8-a\+flagm2\+lse\+dotprod\+rdma\+crc\+fp16fml\+jscvt\+rcpc\+frintts\+i8mm\+bf16\+sve2-aes\+sve2-bitperm\+sve2-sha3\+sve2-sm4\+sb\+ssbs\+pauth\n} } } */ +/* { dg-final { scan-assembler {\.arch armv8-a\+flagm2\+lse\+dotprod\+rdma\+crc\+fp16fml\+jscvt\+rcpc2\+frintts\+i8mm\+bf16\+sve2-aes\+sve2-bitperm\+sve2-sha3\+sve2-sm4\+sb\+ssbs\+pauth\n} } } */ /* Check that an Armv8-A core doesn't fall apart on extensions without midr values and that it enables optional features. */