From patchwork Wed Oct 18 15:02:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Do Nascimento X-Patchwork-Id: 1850939 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=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=xv/BpQcU; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=xv/BpQcU; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4S9Yzr6jGQz20cx for ; Thu, 19 Oct 2023 02:04:56 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 009343857B9B for ; Wed, 18 Oct 2023 15:04:54 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2049.outbound.protection.outlook.com [40.107.6.49]) by sourceware.org (Postfix) with ESMTPS id 8BA1A3858CDB for ; Wed, 18 Oct 2023 15:04:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8BA1A3858CDB 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 8BA1A3858CDB Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.6.49 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697641479; cv=pass; b=Vd336//ugpCydw+sOqUgtWViAsxg538q9m3NByAFNadDgs3TYCZSqEKmthsnez0R+Zl76DNTHM4bdXkydw473qVN6K5SIrgjXOdwdPvHtWZQxJ0GQ5v+oLljOv6QjYumZ4IDv8kbhX4s7ZfIhn1ce31t8Ue2B6ouLRjs6jyng30= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697641479; c=relaxed/simple; bh=XHpMwbXWGSaKrbX9F5z66BplRFOtHHNl1Mj4Tmuc4Sg=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=A7pKTLjLoVIoCpSJMK2IGWw4CkUvse9u3agqOuo4aB/4IvFhaFhzjYQr1ZMNCkiPUbyI3ydtB/Br3nl7qKVLa277GupQOe2x2s2pU2wJMSP9QDtitaCEUVuZy2Du7178yfNOxuCq9iU8Z0z3IDmIdQfpNAXphCsrMaTmgHvs3to= ARC-Authentication-Results: i=2; server2.sourceware.org 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=GtblH9J8AuIOn7YBCLszYYL60G330yUeUOHAfitYSR4=; b=xv/BpQcUs631wOdH1uUd+9FETsB0GZGoTSUIXiz+5mZTPt7nYlaeQyuAYmbhbyekARx2qPOvnBLkl9TJ55/5oXWk5WxCGJq2iLAlQrXw/ry4TUbwWzL01yx6iui2Nbe/wTrrgBMciOatsfd8hSNwrZLiHzz3q1EVJ4xWm5Jviho= Received: from AM9P195CA0016.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:21f::21) by GV1PR08MB8404.eurprd08.prod.outlook.com (2603:10a6:150:80::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23; Wed, 18 Oct 2023 15:04:26 +0000 Received: from AM7EUR03FT015.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:21f:cafe::39) by AM9P195CA0016.outlook.office365.com (2603:10a6:20b:21f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23 via Frontend Transport; Wed, 18 Oct 2023 15:04:25 +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 AM7EUR03FT015.mail.protection.outlook.com (100.127.140.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.24 via Frontend Transport; Wed, 18 Oct 2023 15:04:25 +0000 Received: ("Tessian outbound 470906b1fe6c:v215"); Wed, 18 Oct 2023 15:04:25 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e5c6111f1794018f X-CR-MTA-TID: 64aa7808 Received: from 4ac1011c7700.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B8CD7A02-F984-4571-8B09-5082A7C43D43.1; Wed, 18 Oct 2023 15:04:18 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4ac1011c7700.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 18 Oct 2023 15:04:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EAd5hDuhuzUd+Gt2og1ildxatvHkWlKkRbGo9y60h3CWQ91CE1oKRKHZ6Kdodbzh6BkSlIM0GgyskYr4m8rjaEzyqfQUzbI3zlB9+lUW/+QTXgNGk0N8J045CaLtfEr84n+3Bupwq8ICQTtFtLzdvzxqGe+QJAnP9JPpnYasnILeS3HCvSJpr4jWJjxorLDfL/UCyv8JiXn0DQ9iL4+9rORWveMF8Of8jPK5izNVIv/WIMwm4CFyrfGj0IA7skxFn7pBIE6gEx6wP65/UjMWjcb2mr8KLAm7rJKWNpq7subOdbes9hLmeXRe5WcqvcIlRnuQ//W5IYbbdrQjZObjlg== 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=GtblH9J8AuIOn7YBCLszYYL60G330yUeUOHAfitYSR4=; b=RLVoxCgEo5Ct4JA2BhIWYIvOSBZe1H5yEmo+nVR8s+tH5EtM8xk6yPfaFtt4Q1m+fgXZY6C/BQhBdWUMHys/kKWsqtMvzxyNZcd5FE+5uhTG9WcfLkX3Tu537bnrZXuTVbP0B2lPLl7d7xS7mjiLYSvwQz6gui3txzBrUBiPkm3ZwZJAmkHsvoFnpICpbNYksPubj+nXc4OG05D+dJ+50URu++IgCCr/dZxwYc88DbiPHZDOgZQwOLDakTSy6MMX/YSxU4ykDTTu4q5J3wjtfq3sglAs3zZBecdbwCMOtt3/U+hWnxZ0BRtnnaASDdPsK1H2hRA26+XdBnQih9SAzQ== 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=GtblH9J8AuIOn7YBCLszYYL60G330yUeUOHAfitYSR4=; b=xv/BpQcUs631wOdH1uUd+9FETsB0GZGoTSUIXiz+5mZTPt7nYlaeQyuAYmbhbyekARx2qPOvnBLkl9TJ55/5oXWk5WxCGJq2iLAlQrXw/ry4TUbwWzL01yx6iui2Nbe/wTrrgBMciOatsfd8hSNwrZLiHzz3q1EVJ4xWm5Jviho= Received: from AM6PR01CA0055.eurprd01.prod.exchangelabs.com (2603:10a6:20b:e0::32) by VE1PR08MB5742.eurprd08.prod.outlook.com (2603:10a6:800:1a9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Wed, 18 Oct 2023 15:04:16 +0000 Received: from AM7EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:e0:cafe::ee) by AM6PR01CA0055.outlook.office365.com (2603:10a6:20b:e0::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36 via Frontend Transport; Wed, 18 Oct 2023 15:04:16 +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 AM7EUR03FT037.mail.protection.outlook.com (100.127.140.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6907.24 via Frontend Transport; Wed, 18 Oct 2023 15:04:16 +0000 Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 18 Oct 2023 15:04:15 +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; Wed, 18 Oct 2023 15:04:15 +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; Wed, 18 Oct 2023 15:04:15 +0000 From: Victor Do Nascimento To: CC: , , , Victor Do Nascimento Subject: [PATCH V2 0/7] aarch64: Add support for __arm_rsr and __arm_wsr ACLE function family Date: Wed, 18 Oct 2023 16:02:41 +0100 Message-ID: <20231018150310.253793-1-victor.donascimento@arm.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT037:EE_|VE1PR08MB5742:EE_|AM7EUR03FT015:EE_|GV1PR08MB8404:EE_ X-MS-Office365-Filtering-Correlation-Id: 89d4db2d-74d9-46a3-accc-08dbcfeb84fd 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: dlBdq7x2Sh5LBafgBv6OeV+5EeEA2lDrXG38VBQfwdI2UL3TTFbmdpwprDv78jUEDECc+7BDdYD84QLGf9Qpob035mbXbzeGba4/HSse4PWllHMo4Sc7d8WZXdX2Q9RXV1u6pK5aZtDQ3CUA4vYjPm8ja/DTb2ww6qZksLpTMoQVSWSkQ203ua4ZvN93qjikLk+j6RLr3fN4KagG14EUPAQ5tF3gNmX4dA0oHEEjP+2G1XGp7A3dR7TOD7ppML9wIGT2Wvh/UmmbyhJ3QffJPx0qr4RT5w3irxkknqT9AhWwuFY89UG6CdwbrN8wFpxEL1kFa/ZmR1ztHIl1+sxyNEPaYMP5BqmQZe43E35/FGlf7G948xWO2whcvoh0PGYIxj3Q8McqhE0j/CL8MANQUFF9Jr8qZzecyEdBQsx3TmxntO5ALMXS7tY71s4mPqRymEa6sGpMX8qH3ueLokGLKCv+E2THLVJk9f0NCX4hYE1UVRkijw7fkf6W76iDcZBpe2+Z7X1+imrL2M+Ld+tf+RBWti2R+yZ36BBPdI4hffLZhUN0oALqNSkjYd9iiMAhBKyynlS0MfjzG3q+++u0NfmCy0wXtth/Uq5f5cTHft7JQ/Lo1ZfTdsNVQZPV1Q6y+0bv2FXkmqRj6KO7a+nnMBgYmWqyam03H0AlnrH26IAXex7MWyVT2VT6xEgWlZUOrRAXQskpr2cpBi0BqrliF3FvAxTpNQKn/H4ViVHk13Q= 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)(376002)(346002)(136003)(396003)(39850400004)(230922051799003)(451199024)(82310400011)(186009)(64100799003)(1800799009)(36840700001)(46966006)(966005)(1076003)(26005)(2616005)(7696005)(8936002)(6666004)(336012)(83380400001)(426003)(5660300002)(41300700001)(8676002)(47076005)(4326008)(2906002)(478600001)(36860700001)(70206006)(70586007)(316002)(6916009)(54906003)(81166007)(82740400003)(356005)(86362001)(40480700001)(36756003)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5742 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT015.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6d173070-5366-414b-ce81-08dbcfeb7f8d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Rnsp5h06t/baY5ahQkyZg4m7bvOCrWulrRE3eZljC8vK6YEXC0EgXw/7GqiWyGaF8ZzNWO1iQwNRZs5+YI4rNmCd4nZhyyyi5l4m4pXYDuUU4bKLXv54TkWAtfYcxPYm3OkTzUqe7m2bacuvVXV7sUziD0BNmmNFVtvos6IpqR0cRoPaHPDuGuYedA3vuIm7JRd2IolOKyLriTu2QS9YsOixBA78ADYy6XmQwQYYLX1wX2DPf8s4iqsqyTFQqZ0QxuhhwyfSZtULjNkheibos6knJn8XLgzLleGgfyguNIihfv+K4UN4iWJGYVr+7FWyBYNsxvx5Jv+MtGhikdggCnJ+BFw8o6dfbqdcjlO2RanLne4sLT2pwnRblck64GcA+c4TCMxyuVaOL7nuQ8aBLnm7vdtgstH05NXaoA1ithAjBysoQ+euQcBSdn1ltbYgiGq+iknfnMT71kOrpY6KnCit9oJ02oYQh7rVNxlpzp7eI91w3NwYXwgPGKgKF0D2jQo3tiQfsj7HmUizjhwJkB/bjNf7+FD7ATI1Wm6G9qKX/MrgR+4zQrr+A+hMrpajpZ7qKRvWIFLldWI+wmUCXOffHi8FrVppHAVHr7mioljNBc5rwRVoZPrSa9KJysVYG9X+gXyTs6gap2vUGUZNfpUJitD1o/RmUv8xSSV2LX+Ui5/LDBprjuy/ZUxtHJJauRfOxUEwMtYhHxJ2f29oH8sxqFOARs0YvN08P9SKoYY= 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)(39860400002)(136003)(346002)(396003)(230922051799003)(64100799003)(186009)(1800799009)(451199024)(82310400011)(36840700001)(46966006)(40470700004)(40460700003)(47076005)(336012)(40480700001)(2616005)(36756003)(82740400003)(426003)(1076003)(81166007)(26005)(83380400001)(6916009)(4326008)(8936002)(8676002)(966005)(5660300002)(478600001)(70586007)(70206006)(54906003)(316002)(7696005)(41300700001)(6666004)(86362001)(2906002)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 15:04:25.7913 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 89d4db2d-74d9-46a3-accc-08dbcfeb84fd 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: AM7EUR03FT015.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8404 X-Spam-Status: No, score=-6.5 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org This revision of the patch series addresses the following key pieces of upstream feedback: * `aarch64-sys-regs.def', being identical in content to the file with the same name in Binutils, now retains the copyright header from Binutils. * We migrate away from the binary search handling of system-register lookups in favour of a hashmap approach, relaxing the requirement that all entries in `aarch64-sys-reg.def' be kept in alphabetical order. * A static selftest is added for sanity-checking of the contents of `aarch64-sys-regs.def'. Given the move to a hashmap lookup mechanism, no testing is needed for the preservation of alphabetical order, but a test is added to detect spurious duplicate register definitions. --- 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 (7): 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 aarch64: Add system register duplication check selftest 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 | 1064 +++++++++++++++++ gcc/config/aarch64/aarch64.cc | 243 ++++ 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, 1813 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