Message ID | 20231102163852.1860658-1-victor.donascimento@arm.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp485467vqu; Thu, 2 Nov 2023 09:40:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFaUiEBkNeOzULONHeXr2tv5MRybjzQ/Tsi5eC56ZbKl8tpxb3ifYKIrjO4CWylfyWqDjb X-Received: by 2002:a25:68cd:0:b0:da0:4453:8f10 with SMTP id d196-20020a2568cd000000b00da044538f10mr16704275ybc.43.1698943203291; Thu, 02 Nov 2023 09:40:03 -0700 (PDT) ARC-Seal: i=4; a=rsa-sha256; t=1698943203; cv=pass; d=google.com; s=arc-20160816; b=MxyuLLX+dDW3wqlO61UdVS8F7xEu37aDFKFzwWFw/xmlWssIDHc8tZEk+aqgECaa4r AiICW9AYXWi35etSmBxIt0fjfxXEEtEbiyCTsIZ4PBTIEtOMf41StzFBlyUVWRm7ho6u UpxHCnU/ATQCnxFWaTo+mLKqvjJA0EIPPEl0PjDiLBzbOBsOvaQXMVm6puz+8rHu/yGv 9ThyuovDq/Y1bePbO0w60mdRJIzKvNFArx4FgDdAHi31WRmMe90ujOJZrawt1et5MK/5 D0pm9J/l4THxMjFvKEdnvPqJoUHtofXpzP9kDQf7Z6skjbaGKruKHeMUeqOz2+6UV1Kw s9dA== ARC-Message-Signature: i=4; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:nodisclaimer :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-signature:arc-filter:dmarc-filter :delivered-to; bh=A9f4/FO31YfsyeXPJ0Ftk3sMgjkCrpnBSKpKP1YdQPg=; fh=puYCM8FRHzins9HjEsl9lyIrPa8b21rR+m5ND3mNx7M=; b=YzWm8oXUFDwGRjKBxjC2UYHxU7W6Oq2VhflqdoBLY+pmM5SqSFTmNiOHmNx0P8bk/M lgVRs4XHgK554wSUEE0NWWlcr0zOJtG4ItHVSU7MaRqT4wvp1+ZanleDUJNU3y0DDltB vJJgljLjnslBY5WFPH4M8H13dApjpHRpmw20J5G//KlifZUT11a6KKK/0R1N102oIuv/ 3eaRbRn3RUuH9hARsFjx5cjEF72vsy+kEfKYUJl8ORJHxmhOyk5C+YwWbnLDS69PASfi MNJsfApEGZ+XoEVKXzr979/a+MTS1QCnQIpNUTSESyebsQqGrFuIsllg6xFZEg1aM7pi AGAQ== ARC-Authentication-Results: i=4; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="7u/Ccg2l"; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="7u/Ccg2l"; arc=pass (i=3); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id p18-20020a0cfad2000000b0063d4907b605si191437qvo.129.2023.11.02.09.40.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 09:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="7u/Ccg2l"; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b="7u/Ccg2l"; arc=pass (i=3); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 72B9B385DC3A for <ouuuleilei@gmail.com>; Thu, 2 Nov 2023 16:39:52 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2080.outbound.protection.outlook.com [40.107.8.80]) by sourceware.org (Postfix) with ESMTPS id C72E23858D39 for <gcc-patches@gcc.gnu.org>; Thu, 2 Nov 2023 16:39:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C72E23858D39 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 C72E23858D39 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.8.80 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1698943163; cv=pass; b=F2IH+SSLFsIgiLKwqFibwDhwdooQFtZ/8rCJpefwv9s3K3hTSJVJXL1aYolSBODOtlcxcrdg5M7aCJ34DPCJ2W2QMk82laBUQuEHsD/8LXvhkVma+7Bw9uSMEoiVmw+DEEQbs+gtPWqnMpvYsnpa2AFWss4pVkZUmnfM1Y5PHw0= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1698943163; c=relaxed/simple; bh=rx3rGYfFXM0Y2DylIEdoF8Qb2IScQK8/bSxNN+tk/cY=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=VYALWCnkKpwgYBIM0FG6afeXEIRJFBDt0F0N1X9KVWxq1uX0uu+nezczGQOSu3vJIFT6A+s4yX2eugLltTVBogAr1+cXbEVCO0QDoju5EgPNg1HjYzMhtcRm3osKyMmJl7B0SPBRakCEOEKNra3h8wlnIT+YAQXtCJTgxypquGA= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=j1TNd1gPhbKTdq3DpyZAXmIFzLFwIsOIimCrMS3XF72yHmPcYe9mNdm3p7ws1i8w6J8dq/AHerX/R4vEkmrcN5cH7X2FJdqww1ZwFCWKBloX8XwPTzszVmwXJ0bwphiszr4JA9IZ9P16/PSXBcXQWpAt/LlMB31jI7lcLUcJtlNkgfME9byil1j97qw8/9kEx/kFAFbcIeeF+0oqGvoB3PEUd16dyvlFJMVCC6MAcsNqMk00D9bjKZt85L8+ZrRgLmb/nMb1dYcY4VJGTykK281X85A8LOUPRkn8GeKGAMTSxM50uStmgGipjlP/lxoQY/ylnuInXU6RsQTJfdiPtQ== 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=A9f4/FO31YfsyeXPJ0Ftk3sMgjkCrpnBSKpKP1YdQPg=; b=OioIUJSsKflPeMPYwFoYmfUZK4FYpSE0ig92hhnxjA1O9xStGIYSXMvx9ybaTHpbof965ZZHEYd3Gat1W6Rjf5Pzdv5drVWRjXnwtRbof4w0bFOXD8O06qnNjMCp6x/oPolMWdY5TLWJhYeXs8GNgNBkujOvIzzXbKHY7oZcOt7GgrISHHnDBCiII08Nw13QZBZ8JvPAcJ6UFBBj5mVwArTsYj/csHHRuiWiVx5676S4K7Hc7ym12ifjHPnHNlmtBHoY2FQb7MGrtPHAMfDp7ZOp6lzYipsSPQxQxpLIXHbEUbK8elfg1sjkUe5tphVyiBY/cNixlkdBIaqhtoFcbw== 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]) 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=A9f4/FO31YfsyeXPJ0Ftk3sMgjkCrpnBSKpKP1YdQPg=; b=7u/Ccg2lZlwPo9rxYIFX8GK+7Kps+v1cTQ3SjhzLjZSulTJSOVtN9i5qN34iznF3A9FC9q54pFLzpEzFeK69IVqDmcMpvjd0SQU4PmqODvUaoqLiIwNtyb2LSHvlPPBtdBNt6UF7W97M5q1+oqoBy9RknCbD6PnyLw7coFnXAQE= Received: from DB7PR02CA0031.eurprd02.prod.outlook.com (2603:10a6:10:52::44) by AS8PR08MB9768.eurprd08.prod.outlook.com (2603:10a6:20b:613::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.20; Thu, 2 Nov 2023 16:39:10 +0000 Received: from DU6PEPF0000B61B.eurprd02.prod.outlook.com (2603:10a6:10:52:cafe::d) by DB7PR02CA0031.outlook.office365.com (2603:10a6:10:52::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21 via Frontend Transport; Thu, 2 Nov 2023 16:39:10 +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 DU6PEPF0000B61B.mail.protection.outlook.com (10.167.8.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Thu, 2 Nov 2023 16:39:10 +0000 Received: ("Tessian outbound 20615a7e7970:v228"); Thu, 02 Nov 2023 16:39:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b7db99e706f42ea9 X-CR-MTA-TID: 64aa7808 Received: from a84be3e0e3f2.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9BEFB203-CB27-4AC5-B20F-FB00CF1FA33B.1; Thu, 02 Nov 2023 16:39:04 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a84be3e0e3f2.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 02 Nov 2023 16:39:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oTy6amgyzeJ+9F79nYJ5DabxPO/bxtJTQ3B0tjK4tPA+XbGsnLMFts+21hSRteFPCCynTb8CXxIlhsV9cjPweip9mWlDBD6MfUXB0h10mefLLxAxoJbCkMt4JmEbCuPsco8OoVd9OA2XRhYRYRUKcyZBvOI8rKPOj0qop2+k/hZSIweX5ai3HVB9JT20FgAC5cPFgArLlwXSjuotJq310+n89/o/HaHAo6ulEo7T/rMCdnjYif6itjWgacKA02OsoefPAzRS29suPu2jQhs64To1PnfjkCudb3L6QxJTipnj5fdRx4gLubJUjuUG1LnOfK50vnc83hw2Nm9ybR7LYg== 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=A9f4/FO31YfsyeXPJ0Ftk3sMgjkCrpnBSKpKP1YdQPg=; b=Hr7pzAOyNJOM+iYIZQeVL91dixjqBW0LDI6eiBfzphHQ/Nbo+6Bm+97Vs/J+z5qXM4iv9VHn/mJrZeuWnhUto0zvvW3uMPmcDXSF4oigRqf+GTlt+TjeXAqg49G2t2wHkPpxLswRY49A48SQNy0Ek9qDjp2Mxzs5Xewpqn/7//Or3XsMID+Ik1xm1FFZfPwwuJE+20N7fOeazXilDdcWIbU/nlelgQ/z0BAE4hL4l235ODVl+ueID1ODGyLNdxa1Q9ns/vJm23Ah9OA3V2lbVta0XSnCbnUzepSy7BfvyhC70FTvHDx130nR451gZnhgVNV7F5+w//QW3SVx8GoNgQ== 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 (0) 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=A9f4/FO31YfsyeXPJ0Ftk3sMgjkCrpnBSKpKP1YdQPg=; b=7u/Ccg2lZlwPo9rxYIFX8GK+7Kps+v1cTQ3SjhzLjZSulTJSOVtN9i5qN34iznF3A9FC9q54pFLzpEzFeK69IVqDmcMpvjd0SQU4PmqODvUaoqLiIwNtyb2LSHvlPPBtdBNt6UF7W97M5q1+oqoBy9RknCbD6PnyLw7coFnXAQE= Received: from AS8PR04CA0194.eurprd04.prod.outlook.com (2603:10a6:20b:2f3::19) by PAXPR08MB6413.eurprd08.prod.outlook.com (2603:10a6:102:de::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.32; Thu, 2 Nov 2023 16:39:01 +0000 Received: from AMS0EPF00000195.eurprd05.prod.outlook.com (2603:10a6:20b:2f3:cafe::ad) by AS8PR04CA0194.outlook.office365.com (2603:10a6:20b:2f3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Thu, 2 Nov 2023 16:39:01 +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 AMS0EPF00000195.mail.protection.outlook.com (10.167.16.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6954.19 via Frontend Transport; Thu, 2 Nov 2023 16:39:01 +0000 Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) 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.32; Thu, 2 Nov 2023 16:38:58 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Thu, 2 Nov 2023 16:38:58 +0000 Received: from e125768.cambridge.arm.com (10.2.78.50) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Thu, 2 Nov 2023 16:38:58 +0000 From: Victor Do Nascimento <victor.donascimento@arm.com> To: <gcc-patches@gcc.gnu.org> CC: <kyrylo.tkachov@arm.com>, <richard.sandiford@arm.com>, <Richard.Earnshaw@arm.com>, Victor Do Nascimento <victor.donascimento@arm.com> Subject: [PATCH V3 0/6] aarch64: Add support for __arm_rsr and __arm_wsr ACLE function family Date: Thu, 2 Nov 2023 16:38:28 +0000 Message-ID: <20231102163852.1860658-1-victor.donascimento@arm.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AMS0EPF00000195:EE_|PAXPR08MB6413:EE_|DU6PEPF0000B61B:EE_|AS8PR08MB9768:EE_ X-MS-Office365-Filtering-Correlation-Id: 58e18609-6f58-4027-fb9b-08dbdbc23d3a 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: 6zv06rgEpRtPRW1KtPUih8EVWIX9AwWdj2IVQTbcr3cB8QiygeOLo3f3mJMhEZDvpBMAKnZTXo+HY4fOyh7skQM2tyeBBHbJ3uIcfEFvkn4IqmEfDuKNkAy+mOgCC4+RXytfg/4ZvBtTUH4UTE2C6d89SHOVYitUhJE2DcdXqqpGEmzA0uN25srojyJUNUkZPIHcJ66HDqXkZYC5Wr7ySavMcQ6nbkCn220pCM8KmX4qOqw/SCBEPsKtNK6sMyL4Ye6imFC/gwjSNnekpOksQDB+RAYEveGURWNwOLt2eW9vw1FtmU9jq/JtWrEYTQ/g+5yImqYau+00IfsbNx+Ehb0RjHN6+OjJDndYdnnEqqyNASF5k1ApTKcRDfE2qBqptSswwiKZb7KbYOvlqNpt7FXDnpv2eVl309J8s63f9opS+DwDponQK/jQCgY+I3slqbFDYpIrCOKD6wSV5o2XKhIdvlo8JF1tXjOdYUJvLHqc8xdohtSRRr8+NqG4Ls0YzM88Z4Tuyi4y3fPNKDzqdP2p4XNMmXCck0tRnkUxjVs+GziGa+qc1DHmMLubJxIMlQNJoarPiUc1aFGvd2bCFSPAnH7PFAPrwXqvUWVv4wsjfCe1ciRIKnZTjWxuky2r3phrrh/Iw2HsMWaXvIvAMswQn9bOXORDjiMkEmyXEF8r81Uck8jPkPfaYljcG8jGLW4cPCBqxSs2Wp9YdbH4+BqRYQlr9o5oENV1GXMYra6wdvTKkCqKNhUAw5I/gP1b/0jGFixhEyHJsxCEUrsUVXA0pdxlLzFBQkU14NEtOQc= 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:(13230031)(4636009)(346002)(396003)(136003)(39850400004)(376002)(230922051799003)(64100799003)(82310400011)(186009)(1800799009)(451199024)(36840700001)(40470700004)(46966006)(426003)(54906003)(6916009)(70206006)(70586007)(40460700003)(316002)(36756003)(7696005)(81166007)(336012)(26005)(1076003)(2616005)(356005)(47076005)(83380400001)(6666004)(86362001)(36860700001)(82740400003)(478600001)(40480700001)(966005)(8676002)(41300700001)(8936002)(2906002)(5660300002)(4326008)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6413 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU6PEPF0000B61B.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a18fc194-3089-424c-13df-08dbdbc237f4 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Mb0HcLNkwson70ZdUuBuEgq+RIWP7/O25T/K0Il59VGVG94z6EoecjZQPhSWI2DKVCk/gWdOIBA8kKnI3EU95vOXee2S+1RGR4NE32wbR0FnUZX/JuiWCRAHUA+K6JgDY7pcb1GiX05ZQkVMKeaC2hy1FLEqU6eZMY5WSVAffE8il85xhfdpgrBQ3sd5ckxeYeUXeNo3eUrqL7sHqYI74HigUE2hWvH5hhdM3btziELaq7SGlXcV7DLWrE6w0UI6zW6v+QI7ZvY69vqzHwI/5iM6vBuCJrznicAfznh+FoFo1vXQLBBjF6EZ1FAj2jDtEBjfJsDfiKo3PVSldkkDgZnX7fhgQfqxlL0xTM+/8iLAfI8TTqpjYqCffcbfN1hNb0wugk/nzeyof84/pERKC9NLHKb9S6JF0ZnS9pnR2tjF2rAJZbE5leIWsuRGgb0/pkzp30IrLDt7TzuI5EUDmyjHDhO+8+91A4ACNExI8gzQh6Ujg2gNq3+FY0Z8AvnSgFGa7StPizbYIKqYGN3yBrsVO72DoskGlUfJGGofynzkpJhj9pftiiFbg0T0mn/nC3mxQqAs0PL8eOOHauNBl1Opy+B83d6BXrGTaYfO0m5+Y7krjeBHSPnSANxcift9F/PI8khea6LF+HBPUJ31jdf4/YQc3QeW/KJ5joYvZa0V5zQAmoHSKEjwEmBrRyI3AsplJgLhTwbCxxNqJ3FoUko8XHOPuJdQeybRmbgAfs/VA3d/ZiigLImuklaiUdTN1DYF5TLevv/YfazsU9Ozgg== 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:(13230031)(4636009)(376002)(396003)(346002)(136003)(39860400002)(230922051799003)(451199024)(82310400011)(186009)(64100799003)(1800799009)(40470700004)(36840700001)(46966006)(2906002)(40460700003)(7696005)(36756003)(336012)(1076003)(426003)(6666004)(41300700001)(2616005)(86362001)(81166007)(36860700001)(26005)(83380400001)(47076005)(82740400003)(966005)(478600001)(70586007)(54906003)(70206006)(6916009)(4326008)(316002)(8936002)(8676002)(5660300002)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2023 16:39:10.0471 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 58e18609-6f58-4027-fb9b-08dbdbc23d3a 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: DU6PEPF0000B61B.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9768 X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, KAM_DMARC_NONE, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=no 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781471067907484027 X-GMAIL-MSGID: 1781471067907484027 |
Series |
aarch64: Add support for __arm_rsr and __arm_wsr ACLE function family
|
|
Message
Victor Do Nascimento
Nov. 2, 2023, 4:38 p.m. UTC
Implement changes resulting from upstream discussion about the implementation as presented in V2 of this patch: https://gcc.gnu.org/pipermail/gcc-patches/2023-October/633458.html Note that patch 4/7 of the previous iteration of this series (Add basic target_print_operand support for CONST_STRING) was resubmitted and upstreamed separately due to its use in other work which had since been submitted. --- This patch series adds support for reading and writing to and from system registers via the relevant ACLE-defined builtins [1]. The patch series makes a series of additions to the aarch64-specific areas of the compiler to make this possible. Firstly, a mechanism for defining system registers is established via a new .def file and the new SYSREG macro. This macro is the same as is used in Binutils and system register entries are compatible with either code-base. Given the information contained in this system register definition file, a compile-time validation mechanism is implemented, such that any system register name passed as a string literal argument to these builtins can be checked against known system registers and its use for a given target architecture validated. Finally, patterns for each of these builtins are added to the back-end such that, if all validation criteria are met, the correct assembly is emitted. Thus, the following example of system register access is now valid for GCC: long long old = __arm_rsr("trcseqstr"); __arm_wsr("trcseqstr", new); Testing: - Bootstrap/regtest on aarch64-linux-gnu done. [1] https://arm-software.github.io/acle/main/acle.html Victor Do Nascimento (6): aarch64: Sync system register information with Binutils aarch64: Add support for aarch64-sys-regs.def aarch64: Implement system register validation tools aarch64: Implement system register r/w arm ACLE intrinsic functions aarch64: Add front-end argument type checking for target builtins aarch64: Add system register duplication check selftest gcc/config/aarch64/aarch64-builtins.cc | 222 ++++ gcc/config/aarch64/aarch64-c.cc | 4 +- gcc/config/aarch64/aarch64-protos.h | 6 + gcc/config/aarch64/aarch64-sys-regs.def | 1064 +++++++++++++++++ gcc/config/aarch64/aarch64.cc | 244 ++++ gcc/config/aarch64/aarch64.h | 22 + gcc/config/aarch64/aarch64.md | 18 + gcc/config/aarch64/arm_acle.h | 30 + gcc/config/aarch64/predicates.md | 4 + gcc/testsuite/gcc.dg/pch/rwsr-pch.c | 7 + gcc/testsuite/gcc.dg/pch/rwsr-pch.hs | 10 + .../gcc.target/aarch64/acle/rwsr-1.c | 29 + .../gcc.target/aarch64/acle/rwsr-2.c | 25 + .../gcc.target/aarch64/acle/rwsr-3.c | 18 + gcc/testsuite/gcc.target/aarch64/acle/rwsr.c | 144 +++ 15 files changed, 1845 insertions(+), 2 deletions(-) create mode 100644 gcc/config/aarch64/aarch64-sys-regs.def create mode 100644 gcc/testsuite/gcc.dg/pch/rwsr-pch.c create mode 100644 gcc/testsuite/gcc.dg/pch/rwsr-pch.hs create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/rwsr-1.c create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/rwsr-2.c create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/rwsr-3.c create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/rwsr.c