From patchwork Wed Jan 24 17:17:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Do Nascimento X-Patchwork-Id: 1890341 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=D32CzAM4; 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=D32CzAM4; 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 4TKrLL1zWPz23dq for ; Thu, 25 Jan 2024 04:19:54 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3DD3D385802E for ; Wed, 24 Jan 2024 17:19:52 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2078.outbound.protection.outlook.com [40.107.22.78]) by sourceware.org (Postfix) with ESMTPS id B45BF38582BC for ; Wed, 24 Jan 2024 17:19:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B45BF38582BC 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 B45BF38582BC Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.78 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1706116757; cv=pass; b=wvf6Vuwae1mNRUBC0zkruMsvJDoLxwL991Ak7FML/MvaLDOBembdG3vkyj9gwHRFegou3dmNG5uJBgkrLdXoFovjafvXklq/N1JmUSeDbRAAK0vlIChk0VSX/bm53sBdIhrLMXpDXUQcYOWhyl23tNmSxPu3Co9kobxRvjZ7jxE= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1706116757; c=relaxed/simple; bh=OVpHpiz+Ayoj2jCVbxiYwCPMHtJU+rnncEExvwg7JCs=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=lTcCSr2u/BXT2NBxdvHTAsXK0zx+a8g6mAM2gI8PA258EVvTQOBQLw38VmnD5JfWQGmS9Vc9IP+p3ONH5ATCrTcm0DXgNZSNBYXDth9Numvfd++Wt1EzUpOKLtpq+7ZV5nK2YvN4s3kszM4lXjkVr0STNLKJxRuDJBKqtziAJYw= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=W1AGlLB/jraf1/YZZIJk8D84vs74FUwIQ+fwP91NgT3AJJcFLDe6RMlDJMadlQ4E8gc9jEwDJpT7yW1Wdee/v4cqRjnTTiBL2w1Wy/4NzLqnF4aai48InDe1xPlK633b/rvzoa61gJB97Gm3o5oKhASD7ELbI3QCiEwdV3U9VsS9ZbymG9neT0PvI9q69bsYFpZPhDSSzTdACKyzUnVgpGe4sNNPWfCtJ2Col1a7S5A+M3Ye7fgI+8AeRmazW3Pergb4i1DeZ959P8O7E6L5WzJ7rgNBOqu4Fe+5jH6dp+gVbD9ZkJJoHOtMU4aDkzSNz6eNwM1qE5u/uaj97bw1rA== 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=92vvLw22iyO+tN/G2uyfNHIIUy3NMr7UfHOYStWW1ak=; b=TGfl+oXdoBcaKGu5I682Jik14lTNG0H3TPrlYrHzeVxJHSDRyeUo2x01vzx8IC86FLWuKI44uM9aVfPu9Qf/9r9KVmdqld4zzBXZ8pDX1wrK/ZPwKVzVo1A3H29c5E0RuVzJFyHoWbkGb8E84M1ELYXdBljY6EG1amJIkahO3jqYagtQokKAkgscVZwpOFXnHmMFcqPUOToy3VmWJnPmUg3mQXk0XS2KMZiAImyeyb+6T27qd4G5RZxv00gZSKjItkBmf7BrxnoUMRTAeU3E6By8dLahehFkZ5XZLLSA7TfxjpZkE1Hw2+CzV5BW5LAQLGw4pSLm92/IhJPqnDK/tw== 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=92vvLw22iyO+tN/G2uyfNHIIUy3NMr7UfHOYStWW1ak=; b=D32CzAM4UI9gKVQU17pso5PCFnmQn/yaH2HN+YERJCqwRjvYwqeUrYetYLr8Rz2x9/5BjH1m8/fguhs0MV3tKQcRl7Ryzx+74XVeqt9sYIxjuNudlSah5kVN84i2BuSaZKUlYQnx9JtaqttgckNTbdQ0JXu28rEB7iqPCaMjIBM= Received: from AS9PR05CA0129.eurprd05.prod.outlook.com (2603:10a6:20b:497::29) by DU2PR08MB10016.eurprd08.prod.outlook.com (2603:10a6:10:49e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.36; Wed, 24 Jan 2024 17:19:03 +0000 Received: from AM2PEPF0001C714.eurprd05.prod.outlook.com (2603:10a6:20b:497:cafe::7d) by AS9PR05CA0129.outlook.office365.com (2603:10a6:20b:497::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22 via Frontend Transport; Wed, 24 Jan 2024 17:19:03 +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 AM2PEPF0001C714.mail.protection.outlook.com (10.167.16.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.16 via Frontend Transport; Wed, 24 Jan 2024 17:19:03 +0000 Received: ("Tessian outbound 94d82ba85b1d:v228"); Wed, 24 Jan 2024 17:19:03 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ee282f943c930937 X-CR-MTA-TID: 64aa7808 Received: from 9d314f2a316b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AB6E69AF-67B1-44FB-94D6-51ED92897A3C.1; Wed, 24 Jan 2024 17:18:56 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9d314f2a316b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 24 Jan 2024 17:18:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SexnpkgO17ZkBm6MwVhiMjjAunbSpVX1KJ1NurlJ/1oqp2BTcJY5oNILUm41U+72HYV1h0FKGomOUIFxKHf6sO1kP3OoCO7N+vdwlKg2hj+1jqD63kd6Z45GOR+6RKNHySBDBwXW4bheKj0BwUHoFvy2CiBvuA59DNQjdTGwAunkOazUwbDPvvsNkHHPRDaba4Z0QiSqHGD9w8dEVDlHNmWIcFsKFRMj5DN5F2Nn3CxLt+ZKCWLi4nKTA6+hdKf7tOQ4kr6modFgJ8J/ULDOcvO9UcJI/z8C+yDrFoLkSKMXs7FkNwtuZ4LxmVqq+xPosUfNyR7OktdGuf7IDkyLog== 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=92vvLw22iyO+tN/G2uyfNHIIUy3NMr7UfHOYStWW1ak=; b=ge0b20uRXI/JWOl14c4Esg6bxapH2sflSHX+tEXocHKoUx/NzRImYwveyJDoCBIzyJ7YIdtzJunOY+WhKd5bmkVqcBaKm6CT5va+OHajUgGZmGBFMi+Bhh4FgRETNPgXyxPFCpHyMIZTZTvx+W0Rr4B8zHmZkt+xhJ8AAgBQ5YwPa8RMLxWRj8ieklv/LD8ZoP7ucFYeXPRiI7OiD0TKVnkdSqkU8wBfEdtLJ65qCr9NZvNRM6Xg6VZd2gWD6WdzsCUQr+0p2jgTpJ2HRD6J4/Hc4/2JEygGrkGhHhMVw57QBaKVDkeu6x09uKB/TXxGw/T51+Du7uXunl1aPSpq0g== 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=92vvLw22iyO+tN/G2uyfNHIIUy3NMr7UfHOYStWW1ak=; b=D32CzAM4UI9gKVQU17pso5PCFnmQn/yaH2HN+YERJCqwRjvYwqeUrYetYLr8Rz2x9/5BjH1m8/fguhs0MV3tKQcRl7Ryzx+74XVeqt9sYIxjuNudlSah5kVN84i2BuSaZKUlYQnx9JtaqttgckNTbdQ0JXu28rEB7iqPCaMjIBM= Received: from AM0PR04CA0033.eurprd04.prod.outlook.com (2603:10a6:208:122::46) by AS2PR08MB8974.eurprd08.prod.outlook.com (2603:10a6:20b:5fa::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.36; Wed, 24 Jan 2024 17:18:54 +0000 Received: from AM3PEPF00009B9E.eurprd04.prod.outlook.com (2603:10a6:208:122:cafe::a9) by AM0PR04CA0033.outlook.office365.com (2603:10a6:208:122::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22 via Frontend Transport; Wed, 24 Jan 2024 17:18:54 +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 AM3PEPF00009B9E.mail.protection.outlook.com (10.167.16.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7202.16 via Frontend Transport; Wed, 24 Jan 2024 17:18:54 +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.32; Wed, 24 Jan 2024 17:18:53 +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, 24 Jan 2024 17:18:53 +0000 From: Victor Do Nascimento To: CC: , , , Victor Do Nascimento Subject: [PATCH v4 0/4] Libatomic: Add LSE128 atomics support for AArch64 Date: Wed, 24 Jan 2024 17:17:29 +0000 Message-ID: <20240124171853.3112540-1-victor.donascimento@arm.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM3PEPF00009B9E:EE_|AS2PR08MB8974:EE_|AM2PEPF0001C714:EE_|DU2PR08MB10016:EE_ X-MS-Office365-Filtering-Correlation-Id: 086f452c-2230-4061-55f1-08dc1d009016 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: FAu8zplj1D5AUfBd26mXaqkX4pKR2IkJNeu3UKx7onhERixF8udHkiYieP4aFsu102k8oiqYm6CQGhbab+0zqu0OHJZaxc/ObaFZcTu1N/MJiTTKxJxoEvplJ0qsMR4CKS2qoETR6Xa1krO+JLJXX63uHMVNXZ+cDOqRV8yGvbQH6H1q83et7SgqQTjbeLAu5MFU9lu8iU/lbHOIz3h23wR7LxzVKYRo7CP05OHUHl99Oxv/RIb9myeC3JRprRXo0NiVaf+J9RfzSFo/hAQQPy5pbJY1gdTr5r812WhTNGbgWufsIWcqDPXDbbx26NH9ssEFqn+7HMuG9om6Rj4hUw5uu9+7sAufZ9bsBD8bZgLHBMpvbAMT6iX4n9Slfm+Tk201N6Prc/lV6Slz5jdFBxlhw6EWrDZxnxU+FK4wS78QMOdp4NbHPcWedjCHmJJKO6e6zl7r1aAiSFHFsxAJP1leybb9uB4gBaGMLFiC0R27HLt29rSmRN4OrHU7UaC4lNGYQasX0eOI7PqWsQeX9l7biDoOA2KPyOeHmFFt09HiZH3iYfHGoadit6UlEeejk4dkyZ9GBB/9u2BO6tMXLjwoj1/+XQ4mle/7FGhFCoOwgpebTq6+gIUPbysArNiQhYoWKS/OyRVXgJUYzaJ+GnQwxU15xZezDLMEJTDj2NWwC79vrb7/V+IzgS/g3NtGoeIueq6ZYjlwGRY5enkmoGBBjEMbZLy5pLbZURbKGci46uIZ5KxM49XMEr8+pjTy9mFFDv2U/0R0JQEmcrF0z+PTiMDVJpneya4JodyYbno= 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)(136003)(396003)(346002)(39860400002)(376002)(230922051799003)(186009)(64100799003)(82310400011)(451199024)(1800799012)(40470700004)(36840700001)(46966006)(40480700001)(86362001)(40460700003)(966005)(478600001)(36756003)(81166007)(2616005)(356005)(26005)(1076003)(426003)(82740400003)(47076005)(2906002)(83380400001)(36860700001)(7696005)(41300700001)(70206006)(4326008)(316002)(54906003)(8936002)(6666004)(5660300002)(8676002)(70586007)(6916009)(336012)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8974 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM2PEPF0001C714.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: af749ac2-54de-4c2a-5de7-08dc1d008a86 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0f5uTN7pjx2pQu4/ERyJkzFZ7NtTfUeHkpuiaX/TqIi2ZtWmsjCP52C/H85sFiWbx1T9UTTcrEc7lCv0guRsqYBKKirGupuTCegLxGbJDxMpMlKfsxmcFqxELgHrMlfUehkNBITMC/m/TVixhIWd8LmE1C2UkFFgO0Oydc8MKszHPi4cMcNLJIu/J169LZYXj9RDFQ58RYN9hvNe4FNruSr142+7hc0CdmjIwltmuEee9Lm/5hNphX1Cxra5Yc9xLiKj5yQGQhdEb0qkvSFoBgUfQ6QbeT6PRSYaLSwpYlyYJ0HkR5pLS6ojcUt6lWB+og9DcxivqvRz81EWMI/HwNI4s1KAXRqSTBaU5WXgeTwMdhkIuZo/KYMXnQhkfJG99Bgr5ibtDKOWctcPpRPEPbQ5YTQeNll3gXDsFEzpimJPzS+dXpydzzt4iC69hvnh5892iVqvoFvh564YdtiWZlqiD8+0AZW911QjHorVL0pZGweonT6XcTzaOpyRSEZmHIuNF4ocSlgn65dnTOb+w5Rp2Rq9jc6L5/rZ6DRJULSSvgKf7FZUFuP+eThQwanB7FCDLfgrvF+ZegKutrPBMM7nxyg3L2XWpqArHjDjzYvt4Kps7sEz64Faej41u/qwH8VeU7LzMDOg+FIrOGzrhnV/NWL8kLT+nXa3bx1Ai8srhBs7Annt1Bv5YNOYtXVpwwxZQqCtY6mFS9+JHySvCvGdd1hZ43eDD6dhVU/OSTeWC68ePxwndTyVTk4oL3v8zv5qSXt5d5DaUL48Irl9QA== 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)(376002)(136003)(396003)(346002)(230922051799003)(1800799012)(451199024)(82310400011)(64100799003)(186009)(46966006)(40470700004)(36840700001)(83380400001)(8936002)(47076005)(2616005)(426003)(1076003)(81166007)(26005)(336012)(82740400003)(36860700001)(70206006)(8676002)(5660300002)(4326008)(316002)(2906002)(478600001)(6916009)(7696005)(70586007)(54906003)(6666004)(966005)(41300700001)(86362001)(36756003)(40460700003)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2024 17:19:03.3574 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 086f452c-2230-4061-55f1-08dc1d009016 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: AM2PEPF0001C714.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR08MB10016 X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, KAM_DMARC_NONE, KAM_NUMSUBJECT, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org v4 updates 1. Make use of HWCAP2_LSE128, as defined in the Linux kernel v6.7 for feature check. This has required adding a new patch to the series, enabling ifunc resolvers to read a second arg of type `__ifunc_arg_t *', from which the `_hwcap2' member can be queried for LSE128 support. HWCAP2_LSE128, HWCAP_ATOMICS and __ifunc_arg_t are conditionally defined in the `host-config.h' file to allow backwards compatibility with older versions of glibc which lack definitions for these. 2. Run configure test LIBAT_TEST_FEAT_LSE128 unconditionally, renaming it to LIBAT_TEST_FEAT_AARCH64_LSE128. While it may seem counter-intuitive to run an aarch64 test on non-aarch64 targets, the Automake manual makes it clear: "Note that you must arrange for every AM_CONDITIONAL to be invoked every time configure is run. If AM_CONDITIONAL is run conditionally (e.g., in a shell if statement), then the result will confuse automake." Failure to do so has been found to result in Libatomic build failures on arm and x86_64 targets. 3. Minor changes in the implementations of {ENTRY|END}_FEAT and ALIAS macros used in `config/linux/aarch64/atomic_16.S' 4. Improve commit message in PATCH 2/3 documenting design choice around merging REL and ACQ_REL memory orderings in LSE128 atomic functions. Regression-tested on aarch64-none-linux-gnu on Cortex-A72 and LSE128-enabled Armv-A Base RevC AEM FVP. --- Building upon Wilco Dijkstra's work on AArch64 128-bit atomics for Libatomic, namely the patches from [1] and [2], this patch series extends the library's capabilities to dynamically select and emit Armv9.4-a LSE128 implementations of atomic operations via ifuncs at run-time whenever architectural support is present. Regression tested on aarch64-linux-gnu target with LSE128-support. [1] https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620529.html [2] https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626358.html Victor Do Nascimento (4): libatomic: atomic_16.S: Improve ENTRY, END and ALIAS macro interface libatomic: Add support for __ifunc_arg_t arg in ifunc resolver libatomic: Enable LSE128 128-bit atomics for armv9.4-a aarch64: Add explicit checks for implicit LSE/LSE2 requirements. libatomic/Makefile.am | 3 + libatomic/Makefile.in | 1 + libatomic/acinclude.m4 | 19 ++ libatomic/auto-config.h.in | 3 + libatomic/config/linux/aarch64/atomic_16.S | 247 ++++++++++++++++--- libatomic/config/linux/aarch64/host-config.h | 60 ++++- libatomic/configure | 61 ++++- libatomic/configure.ac | 3 + libatomic/configure.tgt | 2 +- 9 files changed, 358 insertions(+), 41 deletions(-)