Message ID | 20231003151920.1853404-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:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp2159782vqb; Tue, 3 Oct 2023 08:21:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAtMeKvuGth6Zwa1YDVf0Kk0/KBQJSsTUvXQ/y1y+q5JFObho4dP5nRepWABmyZTstA7DO X-Received: by 2002:a17:907:7614:b0:9ae:6ab8:eac1 with SMTP id jx20-20020a170907761400b009ae6ab8eac1mr13250487ejc.52.1696346480190; Tue, 03 Oct 2023 08:21:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696346480; cv=pass; d=google.com; s=arc-20160816; b=kx+NE9Oq3lIgN7vLFfqOaUKSoL7o6u+LRwKFgzsRvdiz3K7jyWT3MwDccVFzfwa6nI 84PmwxSiVpf9zQE6/RtIg+QjzP7BC6rs5ewNOBNQAXJxfrV2jJzTI3kofuUrxPGsYTRm 6YIa59NrrToj5HgOZjr7n0rpcuXFRp0iUWuv4/m4f/ORsw3zKQscs4g6xeXL2lAH4jz1 66yFGdqD0AYVFfQNOy9b4ciixVJmGuVEP+b46mHsEHLUAOz6CK3Cot1Mi49AiRtmFHcS pUfa6xpNjZkWhRiJKLOPaD+MScLcI6UzNdQ0nAY5QVaAFh1gvRhhVxIGS2dX5JK3qEk1 vGJw== ARC-Message-Signature: i=2; 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:dmarc-filter:delivered-to; bh=nJ5ZInrgRvANf+E2v5o9vHW9bzQST/7Q3kKhQuQhK9k=; fh=puYCM8FRHzins9HjEsl9lyIrPa8b21rR+m5ND3mNx7M=; b=wYN2jpHF3UXrZ3Q+EtNH22CVWwmN4Ba3GHKPwUi9dKiTk1/htFx+EkUNhKDSAWtaSB SXjqWgyB8Eu/+JCzp/PUMEr2t5u5PUafKYn+eymedTSKgs97dZ2eDwPc5SpszYS79waW 6Pjp7U5yAUDuen33zztZK+tNk3tJWLD1jpeY/rYSUmJdF2WuUX6WaAK7kI8zFmbTAGOi 8CoFtY/JnK01iwlDWFP71wFsUfzlPZosv5qLKIxCMh1SifTSAdOZB1x9PcsSK6DG6NQ+ dHBOXS9p4DQAbw5vSz5A+Hr6XavUPqDPkFBCk85N5hREgEYwjqus5Wf84fFMOQiK+bzZ WGew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=9A4AFOqt; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=9A4AFOqt; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id jp9-20020a170906f74900b0098dea0a1eb4si779120ejb.700.2023.10.03.08.21.19 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 08:21:20 -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=9A4AFOqt; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=9A4AFOqt; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); 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 D01783875DEB for <ouuuleilei@gmail.com>; Tue, 3 Oct 2023 15:20:22 +0000 (GMT) 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-am0eur02on2069.outbound.protection.outlook.com [40.107.247.69]) by sourceware.org (Postfix) with ESMTPS id C61C33858D28 for <gcc-patches@gcc.gnu.org>; Tue, 3 Oct 2023 15:19:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C61C33858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=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=nJ5ZInrgRvANf+E2v5o9vHW9bzQST/7Q3kKhQuQhK9k=; b=9A4AFOqteXYuXs3XDYxYoi4IPiil6Sh0WiLZsFsoQitppe7gIzfUpO0DVYlgxZ8UBNEXd4+6aFWptMfwAMQJt6zmrjqkqsM5X0vnu4kDulEAXCjO4niOeK9E8N0vCf1/aGnhctUYtF1W3r+wkzbLkwgaszmOmgIF5spkihlAUUI= Received: from AS9PR06CA0249.eurprd06.prod.outlook.com (2603:10a6:20b:45f::22) by DB9PR08MB7868.eurprd08.prod.outlook.com (2603:10a6:10:39f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.31; Tue, 3 Oct 2023 15:19:46 +0000 Received: from AM7EUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:45f:cafe::92) by AS9PR06CA0249.outlook.office365.com (2603:10a6:20b:45f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33 via Frontend Transport; Tue, 3 Oct 2023 15:19:45 +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 AM7EUR03FT061.mail.protection.outlook.com (100.127.140.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.25 via Frontend Transport; Tue, 3 Oct 2023 15:19:45 +0000 Received: ("Tessian outbound 9aeaca65ec26:v211"); Tue, 03 Oct 2023 15:19:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f610f61be6cf714f X-CR-MTA-TID: 64aa7808 Received: from 9ad3d19c0580.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B04EB691-600F-4927-A301-8BB632F55C38.1; Tue, 03 Oct 2023 15:19:38 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9ad3d19c0580.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 03 Oct 2023 15:19:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hW0aVqLxzroAOxVkAY4mQIVGHoyL15bGsgGyZvrrqsJYWdbtIJUHVFmkZqkAaQ/kGcl/7NaJh4fvD2DC+itoM+Veygm0fWFUn3wTsTe+rTCa73ioQxwcOjwYb4gzC0DMeACgYm1vTAC4fAACpmgt0sMdgcGm6Iatcx2HwQMT+3c7G1Krs8d7GOLunoyzENwE2r1wHktrmYGQooZiRzmnqfY4ZB6aqr+w4glFqazK0VhwH1LwWjDTootF2hhUVH8ce4950JR84a1u+KbFU/7TFTYY/fOK+yNXBysTqfIUEcyPIjzjrIGIlQNJBpvdTdkjEjFsRgCkJyOCeFqB9q8QXg== 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=nJ5ZInrgRvANf+E2v5o9vHW9bzQST/7Q3kKhQuQhK9k=; b=B7e0NlFl/H8Lgd83fOsBZONGZdIxs3Y6LpuhrR3DY5q0NDeiHIIQAV9OFJ29tfSgqq0JkQ+ZkzJphbFtYkc8vZeo03WBtOjGKIJe0tg57FzWgp0HedvTfrMl5VP48uRH7ja062m5GL0Gvb2FxiJaOi5u7iuPYFQHXUyKjoGkNkyNlObKaKEuBk3cdoOXb0LzPadHAtX9O4x6GyFIacVjdt33dChvJYy4F/+4DZ7evtv03RqpAQu/QVHng9g8XFNeBHpBO4qOeqTgdOuH56ApLQPhMDPaGUlMIIS+2P39BYsoyR4D/5l1nAPcYxyaTIRO79+VMFYncFgwvux0gVw3OA== 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 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=nJ5ZInrgRvANf+E2v5o9vHW9bzQST/7Q3kKhQuQhK9k=; b=9A4AFOqteXYuXs3XDYxYoi4IPiil6Sh0WiLZsFsoQitppe7gIzfUpO0DVYlgxZ8UBNEXd4+6aFWptMfwAMQJt6zmrjqkqsM5X0vnu4kDulEAXCjO4niOeK9E8N0vCf1/aGnhctUYtF1W3r+wkzbLkwgaszmOmgIF5spkihlAUUI= Received: from AM5PR0301CA0016.eurprd03.prod.outlook.com (2603:10a6:206:14::29) by DB8PR08MB5323.eurprd08.prod.outlook.com (2603:10a6:10:fa::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Tue, 3 Oct 2023 15:19:36 +0000 Received: from AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:14:cafe::15) by AM5PR0301CA0016.outlook.office365.com (2603:10a6:206:14::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33 via Frontend Transport; Tue, 3 Oct 2023 15:19:36 +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 AM7EUR03FT022.mail.protection.outlook.com (100.127.140.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6863.24 via Frontend Transport; Tue, 3 Oct 2023 15:19:35 +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.27; Tue, 3 Oct 2023 15:19:35 +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.27 via Frontend Transport; Tue, 3 Oct 2023 15:19:34 +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 0/6] aarch64: Add support for __arm_rsr and __arm_wsr ACLE function family Date: Tue, 3 Oct 2023 16:18:31 +0100 Message-ID: <20231003151920.1853404-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: AM7EUR03FT022:EE_|DB8PR08MB5323:EE_|AM7EUR03FT061:EE_|DB9PR08MB7868:EE_ X-MS-Office365-Filtering-Correlation-Id: 481e4d67-6ae5-4c0d-45da-08dbc4242ceb 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: gD0e6C4PX8pDTJbtaqhW0YqhCDerri+OONeIu5etxCQ3awr2sOsSwIlZSACcbCobouT4ap5ugmD1/VtdYMHXJnI6r1w9Zsaye9Jf6WMcKSdQJIWNF/VH+WjR6IVGMlgyS5wQH9i5yqFecJ+xGak1EtxHgEBOSu2kNQfFQMdZbiqDR5EgPTQGaKcKr6co1h7hDcYOhuZpGd/j5h+OaQxRIFxaK7Fnlg9omNyQR81JuX64+6XnDWSvrdcS1QNCZ5ZU3GRH2ZDlXj9yqQjTSdJjsT+LIN6spGT0eG9MKheYkJ2bVZzyPj0mQdAmHh3wdpgcIkWs6D41/pFhdtfy08hguyyk3MPrR/+Nyc0jeLqLSeSvfyOtPpPdYueXtPgR4dgtROdYbkNMPCTFze9BKq8LBgw8gaatBKQRxzFP885sosoPWQxLXaa8HQEgfl2+xVES5liKHd/rvQCHy1hSLO9nV0vhrqiCrcFlXHi/yEUBDmTrfRO+jQu1E5MI61GbVpqoBMbeLTZY3zgLmiPlA1mjPhoJwN0sf7BQkN913xBUaxmViBj/LRd2eNt7xR3GGJtN8jrArcp96rqWlnezy4u8q3UctbQHdwyVM73NJRQPGE6F6Fl/SW8sPGBNiNafwGe/izfRQj/baRYwjbOFP4G/sx/9YP7JHENBV+OqVsv3774kuWSoFhtvoyKplFCPS/DBXyHb4Nvurrf3TpIPMiV2u3sYxAzyq/Y5vRhcgkOwKhI= 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)(396003)(346002)(136003)(376002)(39860400002)(230922051799003)(451199024)(82310400011)(1800799009)(186009)(64100799003)(46966006)(36840700001)(2906002)(40480700001)(41300700001)(54906003)(70586007)(316002)(70206006)(6916009)(966005)(478600001)(4326008)(86362001)(8936002)(47076005)(8676002)(83380400001)(36860700001)(5660300002)(82740400003)(81166007)(356005)(7696005)(6666004)(1076003)(336012)(26005)(426003)(2616005)(36756003)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5323 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT061.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: fa04881b-d079-43c0-33ec-08dbc424274d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g/waiLuiIrcOMgFpPUYyd+ZXtfcADE2jsWmIPpKpoAWRX9eQhbmWHmootJP1EHTW7TrVGqJKaa6OSuxYZyiblwLh2luwAmwU2/3HM0V1qjhiZYRzyDdpbQF9bnfk6lwTWRE8+ni+s4rRe0uK6q72Taj8LCsjf3clc6B2vtqoStt/BDBPQG+Kgx7EngI1i+XouLA+Cc/ohXAh+6rlh7QLT9X4qB8D05Y5ji9NBdW+tEkVt1ui7a4cqdC/LcVXNuRKxIxaOZIkmNkm2SizuWBaRL50VuNPg1CFbcO3NMyNJ/2vI5QgVMqhJ3i9Nw/7fxXYw1ZlDHrBc8m7RFalEgxftRQI0D5iEEoMPwyp+jd+60ix8t8e3JioOtQ4TZ67lWjAmihHKY6PKbpKyhvxTpZMwKDAh6I9HSEcNnb65U00jra55FufJLk9u+X3fjg6qjnj2Ued30Q80B6LfQeCjglXy0r0QUIZuAU7IdmLr0skpwoCrM5lkuMoRsd3UFCQcvZLhwNrUmkjGwW9tvF4Q8SoQz2vjIqCf2cXcm4Mmh48M5hUnRYnZ4gpeOVnY37n0+w5vopgn2/SGqGsTJbsCX9EBZxG/BUaRFa4boRo5N3TDmlWTVgJB+34uMwVfWajUs5YFaZ8FZU+eNqFmXF4YLk5zo/jldIREEytd40i6hX6dB6fKGJXWbhmrlu3JO+62WKHQJ+BH/RXOe5WglJ1yVSFxPZyzYZi9zYkoqgBKzPx15E= 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)(39860400002)(396003)(136003)(376002)(346002)(230922051799003)(82310400011)(1800799009)(186009)(451199024)(64100799003)(46966006)(36840700001)(40470700004)(40460700003)(40480700001)(2616005)(26005)(82740400003)(81166007)(1076003)(336012)(426003)(70586007)(54906003)(966005)(41300700001)(8936002)(316002)(6666004)(47076005)(478600001)(7696005)(70206006)(36860700001)(86362001)(83380400001)(2906002)(36756003)(6916009)(8676002)(5660300002)(4326008); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 15:19:45.3915 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 481e4d67-6ae5-4c0d-45da-08dbc4242ceb 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: AM7EUR03FT061.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7868 X-Spam-Status: No, score=-6.8 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, 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: 1778748206870246626 X-GMAIL-MSGID: 1778748206870246626 |
Series |
aarch64: Add support for __arm_rsr and __arm_wsr ACLE function family
|
|
Message
Victor Do Nascimento
Oct. 3, 2023, 3:18 p.m. UTC
This patch series adds support for reading and writing to and from system registers via the relevant ACLE-defined builtins [1], making 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: Add basic target_print_operand support for CONST_STRING aarch64: Implement system register r/w arm ACLE intrinsic functions aarch64: Add front-end argument type checking for target builtins gcc/config/aarch64/aarch64-builtins.cc | 233 ++++ gcc/config/aarch64/aarch64-c.cc | 4 +- gcc/config/aarch64/aarch64-protos.h | 5 + gcc/config/aarch64/aarch64-sys-regs.def | 1059 +++++++++++++++++ gcc/config/aarch64/aarch64.cc | 182 +++ gcc/config/aarch64/aarch64.h | 36 + gcc/config/aarch64/aarch64.md | 17 + gcc/config/aarch64/arm_acle.h | 30 + gcc/config/aarch64/predicates.md | 4 + .../gcc.target/aarch64/acle/rwsr-1.c | 20 + .../gcc.target/aarch64/acle/rwsr-2.c | 15 + gcc/testsuite/gcc.target/aarch64/acle/rwsr.c | 144 +++ 12 files changed, 1747 insertions(+), 2 deletions(-) create mode 100644 gcc/config/aarch64/aarch64-sys-regs.def 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.c