| Message ID | 20261104150637.23767-1-Dylan.Fleming@arm.com (mailing list archive) |
|---|---|
| State | Committed |
| Commit | abdae8c703d5c0be3087183611b3ca007433e56f |
| Headers |
Return-Path: <libc-alpha-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 37E1F4BA23D0 for <patchwork@sourceware.org>; Wed, 4 Nov 2026 15:09:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37E1F4BA23D0 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=SRdYOCkg; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=SRdYOCkg X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from MRWPR03CU001.outbound.protection.outlook.com (mail-francesouthazon11011054.outbound.protection.outlook.com [40.107.130.54]) by sourceware.org (Postfix) with ESMTPS id CCD7F4BA2E1B for <libc-alpha@sourceware.org>; Wed, 4 Nov 2026 15:07:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CCD7F4BA2E1B 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 CCD7F4BA2E1B Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=40.107.130.54 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1793804846; cv=pass; b=svBtExdtu8WubpeWz38ajBMlPtDl+IF/eginWQKVxLq8TobAFfWjUbYpAUPRG9ucT+6u/jzB87B+8pyq14KvB7i2OJGnPnBMcOgO77RY7kx1faY1RBgYUITN3zMH4SSrqS+MOTvoFW6aoFx7PP9gsabrx8DffOg0lStxqCzzSqQ= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1793804846; c=relaxed/simple; bh=7TZvjaNWKHV64MCxZyFCqe99PUvACB7rNSYoXFD/lFY=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=D/u2LFkiDJ4DLzbIgsqPwqrkhVznpysO7skNlUxhCVuk8b9OyHQrB/jmc3xEZiBHzA1lAP3zHRugxjXlRRaOUPIoPpFhq2HWfoWkEVGDpgeuc8TCZpsSEn12IuhpnCNW1902Ec//Ww42xcX6hGj1GIKyC9/sheg9/hph7UQ+Vj0= ARC-Authentication-Results: i=3; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=SRdYOCkg; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=SRdYOCkg DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCD7F4BA2E1B ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=Uvycjcp5J3y8d6r6njcjxVxMjtSOCaupCmC5ZOaaBdt2l3YmLbJ4j6JgJzoWajPMu6BDM0BHNCiRFVJx4Xx+TSx+PFMzwatIucEKE66mTrdsdnDtPyBfRIN/PERKLQiaUdmgvpot5QjRGgcK3GoLKfCBiUuyZQ1QEcHpPvaNC/cHBL4jN3Pk5HQE8HeNDdNk8TUIjtUAbcewe8Uws/R4vz5bRHfJkrrUethK1dI0egjq8TbQ/lzbooPBcPiRQsCWZco8m8h33FL5PGnWdOkXN4diftmtojCR9/N/gJe2mXNY7J5tVPihal3GD4KxnmnZpIIZPPod5ZeF90nEY1PC7A== 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=U+BazAQeDcV7Vo3Rg0zU4XKpFfO7G1lKwxsCre3ueCU=; b=h13icHJCchH9vf0k/aQal2HPsQY22kFivfb80lN6iPYidynXR0jaIcOOSK1DLOZ7BPsivoKuI4VwTANSn/WcUPSNFlvLxofB8SXVfRr7UEvtlVFAscUH7/NyH2qBn2vb61N5AQpgWS2kb/kFSl5gOoYzK+TXDJ7sFi+hRt2uLjCX8uGOU76fpPdRTO+OEqOVTcmbrLbVSAfAoYqXlAtj7ELg6CUnNnrBBU4VU3ZverwbzC2e+nZLvs6SjfAZJVf1a3DzbZmyJgxMtZ82u5DJg1YE8HrdUtE31/thOz1brBZFj9yrirDQU+pI5K2de+d5ZVuNNlWrrEtDpSAlsz4frA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=sourceware.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] 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=U+BazAQeDcV7Vo3Rg0zU4XKpFfO7G1lKwxsCre3ueCU=; b=SRdYOCkgis9Ar4OmdJeths68MSomE04jmnUtfKaDRilJpGBYFXeLPQdLDLihh628ZF8H6X5xPKhA21tA4afvf2eGir6pvpjI32ZL1DPmQaEyhX+X/KIv+DCZV1a7YTRrMV60/GmB/Vs+hMjj1grrjlIugRkCljhGIceVZrQ6GHk= Received: from AS4P191CA0046.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:657::6) by DB9PR08MB8580.eurprd08.prod.outlook.com (2603:10a6:10:3d3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.569.12; Wed, 4 Nov 2026 15:07:16 +0000 Received: from AM1PEPF000C1AD8.eurprd02.prod.outlook.com (2603:10a6:20b:657:cafe::95) by AS4P191CA0046.outlook.office365.com (2603:10a6:20b:657::6) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.592.10 via Frontend Transport; Wed, 4 Nov 2026 15:07:16 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 4.158.2.129) 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 4.158.2.129 as permitted sender) receiver=protection.outlook.com; client-ip=4.158.2.129; helo=outbound-uk1.az.dlp.m.darktrace.com; pr=C Received: from outbound-uk1.az.dlp.m.darktrace.com (4.158.2.129) by AM1PEPF000C1AD8.mail.protection.outlook.com (10.167.242.103) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.592.5 via Frontend Transport; Wed, 4 Nov 2026 15:07:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UXBtR2mZoSKijUdQZnE6g2pytAub0cxena6y7ZlVYWonLy7BCS5anEajOBnZ7C9/nuKidRdysCfrtbMnSHYKivi3n/ztRptIUwu96jUQXcVC/21zpIFPvtco8SMecUt8qZGhYKY4q46mOst9uNYmw/RNXm05ryXpL6Rh18+fpZVrQbNVWbZL3l89uZqVWaJfhtoxbAqeVzRNOmGOUPsUzMFWOtQktt/igoZkC3ko6SJfnCHLdxXNvYg1lRSS1u2IGPp3ZZUac6HlqrBQivf3e/xCPvpxo6iRa1EwrxfkZs2iRBJUrUlhVTIeMxx9K2Tje97PphmNZeLPcPSiFPGEAw== 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=U+BazAQeDcV7Vo3Rg0zU4XKpFfO7G1lKwxsCre3ueCU=; b=UULrePP2+Ai02xRDKAzfs25zN2dtZTVJWrse26/QuMDFW8hiMoWKGQJ80RLilDuKZzXLWTFMepkliZxBGjwvy5vz+IHs4w89u++hoKEFn0Yt60bMhGcMW7mpDQsAxd6x3ikmdPiM4pv5ktGC75SBrRyp00xu5So+/AiwHAJEhVxuviMTeKYjJ03w83k3h3f/Bp5d8HFECib1T/Y5MQzZWO6YdffIqwJj8OpPLmvub8WmwSQ1A59tntYV+2mK1aiTnj4UYeBnjNaWieHVM9NFYdXaKhXY3bBTvmtU13WMZn9nA9IB0qatD2uJ1ygnWZS6uNo3GCVNlPxp6TRDipksmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 172.205.89.229) smtp.rcpttodomain=sourceware.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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U+BazAQeDcV7Vo3Rg0zU4XKpFfO7G1lKwxsCre3ueCU=; b=SRdYOCkgis9Ar4OmdJeths68MSomE04jmnUtfKaDRilJpGBYFXeLPQdLDLihh628ZF8H6X5xPKhA21tA4afvf2eGir6pvpjI32ZL1DPmQaEyhX+X/KIv+DCZV1a7YTRrMV60/GmB/Vs+hMjj1grrjlIugRkCljhGIceVZrQ6GHk= Received: from MA3P292CA0031.ESPP292.PROD.OUTLOOK.COM (2603:10a6:250:46::18) by PAXPR08MB6528.eurprd08.prod.outlook.com (2603:10a6:102:15a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.569.12; Wed, 4 Nov 2026 15:06:41 +0000 Received: from MAD0EPF000008C7.eurprd05.prod.outlook.com (2603:10a6:250:46:cafe::2a) by MA3P292CA0031.outlook.office365.com (2603:10a6:250:46::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.592.10 via Frontend Transport; Wed, 4 Nov 2026 15:06:41 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 172.205.89.229) 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 172.205.89.229 as permitted sender) receiver=protection.outlook.com; client-ip=172.205.89.229; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (172.205.89.229) by MAD0EPF000008C7.mail.protection.outlook.com (10.167.241.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.592.5 via Frontend Transport; Wed, 4 Nov 2026 15:06:39 +0000 Received: from AZ-NEU-EX04.Arm.com (10.240.25.138) by AZ-NEU-EX04.Arm.com (10.240.25.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Wed, 4 Nov 2026 15:06:38 +0000 Received: from ip-10-252-30-135.eu-west-1.compute.internal (10.252.30.135) by mail.arm.com (10.240.25.138) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Wed, 4 Nov 2026 15:06:38 +0000 From: Dylan Fleming <Dylan.Fleming@arm.com> To: <libc-alpha@sourceware.org> CC: Dylan Fleming <Dylan.Fleming@arm.com> Subject: [PATCH] aarch64: Fix SVE log1p helper mixed-lane shortcut [BZ #34923] Date: Wed, 4 Nov 2026 15:06:37 +0000 Message-ID: <20261104150637.23767-1-Dylan.Fleming@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: MAD0EPF000008C7:EE_|PAXPR08MB6528:EE_|AM1PEPF000C1AD8:EE_|DB9PR08MB8580:EE_ X-MS-Office365-Filtering-Correlation-Id: 63d50f2c-e032-4714-cb80-08df3a854ffd x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|1800799024|23010399003|376014|36860700016|82310400026|56012099006|261021123027099003|261009223027099003|11063799006|261022075727099003|261021121427099003|261102123227099003|18002099003|10067099003; X-Microsoft-Antispam-Message-Info-Original: YrCBvboNc7+xy7TPOmeTqVtiqIUcSYMuFlg3UbXxMgvwsb75NgLs9rfYrmwnKIzgnQ6FnMd0zJ/d8GG92Ds6RR6wzeiqVGkZPFHyIjH/+fT4LAmOtPOUkB5off6V501HfTgUfamWLYzbMdsxwdyAkV+bYVz6yuOOPkCJI8lR2dvLDKFeZPJcnBQwfDbYYun+beABkPjiJU+asFjTiCz8alis0zSMGlh1otHepBW+ffgAJgo3Y3iNbTntYIg9OyQcQF9cg0mZR6oXEQ91ToOt6ll2VtQq2orh46ehzbMfdTIY2Mnw90nckB+7GqKhKFbCc7AdUpXJiOx+h4rPiYUWwlpUx5TWYTiopiH7Gp42+F5Lve1P1kj2uD88ZbVioK4YjlWggQlGpsb6T+oeEgt6o6VyZHXdmovUZHwnZgTr74+xgh47pUb1CyiJMzxT8X7PtH2ZlJbsVk9YUrFfke/iAWPD8O2kVoZDV/F3sVgH6k42VJe2aTM4YNMXFR4qY3MAslAHRp6/6++NRRam6EmpqViFy7nNXdIUHsyv9xl5P2lJ4cDMOATxXehzATOJK3c07ltwkYKJ3racvUZkpYAs5yLMmjhMSvgTZxuCir5Fomv3zr9biX7mmVuMBr9Jp0IuypKJpysev0LOGT7NVDvDI1cTQY2VuXyq9cndGgJaETzy5LfR6KYPrwU1orCH19VhaTrviChp4WnVeqmc6CpDjA== X-Forefront-Antispam-Report-Untrusted: CIP:172.205.89.229; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(1800799024)(23010399003)(376014)(36860700016)(82310400026)(56012099006)(261021123027099003)(261009223027099003)(11063799006)(261022075727099003)(261021121427099003)(261102123227099003)(18002099003)(10067099003); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: Fscndw7SPrNQsn4Yeyiq2dW1lPs12wFPPYgoe5HwBG7FWYFgiv/j4MANs2AAqBS2AmWpSUEb0FZD5ri7zb5iRE/qqCzk2eggnCDWJdGTnGHYdUIjfHEFazSJK8iSrFhRam2m6erALMVJefu6mY7/XSmvprfGLmt3VPdoIC8KLZ23kGQffEvsaLixFBZ9aAPcdXea3wgXq8P9fJaVCXHhs80Yo1PLSJzW0B7eqlnh1iEDjqXyNlqTRZt57uaxjhFkjYgKWdx4g5c87DqOssieDuoJ+QbfnYl253SiAiquCpUx++pKWLRmH1AMFKDdJLdApy0y9pqSBdn/x5Jz2pkyig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6528 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM1PEPF000C1AD8.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ea5be1d9-d3da-4768-7a27-08df3a853a88 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|82310400026|35042699022|36860700016|23010399003|14060799003|261102123227099003|56012099006|18002099003|261009223027099003|261022075727099003|261021123027099003|261021121427099003|11063799006|10067099003; X-Microsoft-Antispam-Message-Info: h3+Su4BOYeWYtj2gAlu+g+bugK7pGdWQFLeNDQgn/SIbaCeTchrRMpZd57rDz+/Tj7fNWXBkOuFG6rVl3KbmSU+LAMf4hLq2uUG38oqr38W2aWjICc3LRN6iCtmWQ+8RxpJOu5SfM4OvBdWDxLZ+z/bnD/nFQw5RBj2foVBQg35XomPDGGMNn5Y1iF8QqVUT+wH1Xc4bZFmxX8LyRlrbEvgY6EKqs6zb7jJT12Ntf/DTDToBHWn7jqQqT3RWew266VPLjZV5xQwMmn0RIS/rku4GfmGHhNV4wCvTtQiDp4y5O6HaZ+6uuyBWf4tlLnedYHgDrjLS6pSgJBVFMXUqJj2ZiRfYq9c6Nq+Xes7I46LTWedtKKt3McHPtjk5IxB36xBBvsNImkoxSiWJBx1U5nxboVhzoYf4EESasro03TZzc1UZ6wkc8j93KTiAbpq6F+yQR4+YXpxUX+YA/Fu9JHQVWyIj2CDWgmLU1SImJIQogkMJML+2EIvfhFt4f09fWiwOjjvzbfucazv2sit0PeLbuaGIH8/WpPHbwAkOr3psQbIM4YkFa4Fhe10jcD1NCxHJeMv1P/hveJr+MluSJYLSLv1Gr+QA0AFYc3E4uIg9faeJgWdkX25HTyoo0i1wSc/9daUfx4sJ90GOFYVF8dHNNB8Y+MiUoFIVuOF0Rpq0lhZYH/EjtGhuKlVhjcaEX3Sgso7ebOaijXhDa6sE5A== X-Forefront-Antispam-Report: CIP:4.158.2.129; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:outbound-uk1.az.dlp.m.darktrace.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(376014)(1800799024)(82310400026)(35042699022)(36860700016)(23010399003)(14060799003)(261102123227099003)(56012099006)(18002099003)(261009223027099003)(261022075727099003)(261021123027099003)(261021121427099003)(11063799006)(10067099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mTZNFoQX/VNpHUHa/02utTGMbyFTp6KBjENiF07UY71dtYnoHmofFTrjQp8AEpBgyumKplou6w64Fc1J1SAkSktwjksaPcVhU3KU/KEAzLpRypK2NVA81dPgbs99UlQLpcE1aZX5AqM1LgXA5ewdzxJojLqnYNnDV5grbTW728lHI3xnCy9aS0KKIi0yXMnNo9ZM/lUjqQn0W3YKnsozPcUqW8zcyyR/oSAG/gvEHmvY/8h2x/TQNG2AFu+f7OKuEo6VlMw2zjjrCs/wP9fQ9b6aZTD6juWw0jihjnBgWaAhfTF3MzGXHASTP9o/Y5vcxOjIBBVj3F7p71A2vlWV3gev4RIrr25Y1hh3Mmwwy2UkUbN+q+EcV4V2SS34aHqgOfOaXHmop0DV0usKrbsArZyrxnMadErxRax93OyKOmBcUYIT8HR05c3Xa6yAMuEL X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2026 15:07:15.6649 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 63d50f2c-e032-4714-cb80-08df3a854ffd X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[4.158.2.129]; Helo=[outbound-uk1.az.dlp.m.darktrace.com] X-MS-Exchange-CrossTenant-AuthSource: AM1PEPF000C1AD8.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8580 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GB_MSAUTHSOURCE_EUROPE, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
aarch64: Fix SVE log1p helper mixed-lane shortcut [BZ #34923]
|
|
Checks
| Context | Check | Description |
|---|---|---|
| redhat-pt-bot/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
| linaro-tcwg-bot/tcwg_glibc_build--master-arm | success | Build passed |
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 | success | Build passed |
| redhat-pt-bot/TryBot-32bit | success | Build for i686 |
| linaro-tcwg-bot/tcwg_glibc_check--master-arm | success | Test passed |
| linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 | success | Test passed |
Commit Message
Dylan Fleming
Nov. 4, 2026, 3:06 p.m. UTC
The log1p helper only selects the original input for k == 0 when all active lanes have k == 0. If another lane needs exponent reduction, the shortcut is skipped even though the correction term is already zeroed for k == 0. This loses accuracy in SVE acosh near 1, for example with inputs [0x1.0000000000001p0, 2.0, ...]. Select the original input for k == 0 independently in each lane by removing the vector-wide condition around svsel. --- SHARED-FILES | 2 +- sysdeps/aarch64/fpu/sve/sv_log1p_inline.h | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-)
Comments
On 04/11/26 12:06, Dylan Fleming wrote: > The log1p helper only selects the original input for k == 0 when all > active lanes have k == 0. If another lane needs exponent reduction, the > shortcut is skipped even though the correction term is already zeroed > for k == 0. This loses accuracy in SVE acosh near 1, for example with > inputs [0x1.0000000000001p0, 2.0, ...]. > > Select the original input for k == 0 independently in each lane by > removing the vector-wide condition around svsel. LGTM, thanks. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> > --- > SHARED-FILES | 2 +- > sysdeps/aarch64/fpu/sve/sv_log1p_inline.h | 5 +---- > 2 files changed, 2 insertions(+), 5 deletions(-) > > diff --git a/SHARED-FILES b/SHARED-FILES > index 8f89400177..1f176aa6f8 100644 > --- a/SHARED-FILES > +++ b/SHARED-FILES > @@ -591,7 +591,7 @@ arm-optimized-routines: > sysdeps/aarch64/fpu/sve/sv_expf_special_inline.h > # math/aarch64/sve/sv_expm1f_inline.h, revision 78cd003 > sysdeps/aarch64/fpu/sve/sv_expm1f_inline.h > - # math/aarch64/sve/sv_log1p_inline.h, revision 7d08237 > + # math/aarch64/sve/sv_log1p_inline.h, revision 5e51e52 > sysdeps/aarch64/fpu/sve/sv_log1p_inline.h > # math/aarch64/sve/sv_log1pf_inline.h, revision a553540 > sysdeps/aarch64/fpu/sve/sv_log1pf_inline.h > diff --git a/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h b/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h > index 1b2c542851..2e17280cf6 100644 > --- a/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h > +++ b/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h > @@ -102,10 +102,7 @@ sv_log1p_inline (svfloat64_t x, const svbool_t pg) > that the approximation is solely the polynomial. */ > svbool_t knot0 = svcmpne (pg, k, 0); > cm = svdiv_z (knot0, c, m); > - if (__glibc_likely (!svptest_any (pg, knot0))) > - { > - f = svsel (knot0, f, x); > - } > + f = svsel (knot0, f, x); > #else > /* No shortcut. */ > cm = svdiv_x (pg, c, m);
diff --git a/SHARED-FILES b/SHARED-FILES index 8f89400177..1f176aa6f8 100644 --- a/SHARED-FILES +++ b/SHARED-FILES @@ -591,7 +591,7 @@ arm-optimized-routines: sysdeps/aarch64/fpu/sve/sv_expf_special_inline.h # math/aarch64/sve/sv_expm1f_inline.h, revision 78cd003 sysdeps/aarch64/fpu/sve/sv_expm1f_inline.h - # math/aarch64/sve/sv_log1p_inline.h, revision 7d08237 + # math/aarch64/sve/sv_log1p_inline.h, revision 5e51e52 sysdeps/aarch64/fpu/sve/sv_log1p_inline.h # math/aarch64/sve/sv_log1pf_inline.h, revision a553540 sysdeps/aarch64/fpu/sve/sv_log1pf_inline.h diff --git a/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h b/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h index 1b2c542851..2e17280cf6 100644 --- a/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h +++ b/sysdeps/aarch64/fpu/sve/sv_log1p_inline.h @@ -102,10 +102,7 @@ sv_log1p_inline (svfloat64_t x, const svbool_t pg) that the approximation is solely the polynomial. */ svbool_t knot0 = svcmpne (pg, k, 0); cm = svdiv_z (knot0, c, m); - if (__glibc_likely (!svptest_any (pg, knot0))) - { - f = svsel (knot0, f, x); - } + f = svsel (knot0, f, x); #else /* No shortcut. */ cm = svdiv_x (pg, c, m);