| Message ID | 20261104150640.23795-1-Dylan.Fleming@arm.com (mailing list archive) |
|---|---|
| State | Committed |
| Commit | 2adca4525327d0321570fda9cdab6e16fa24dba9 |
| 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 3A2A34BA23D0 for <patchwork@sourceware.org>; Wed, 4 Nov 2026 15:08:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A2A34BA23D0 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=pJ3dS7Eo; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=pJ3dS7Eo X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazon11013071.outbound.protection.outlook.com [40.107.159.71]) by sourceware.org (Postfix) with ESMTPS id 67BC94BA2E18 for <libc-alpha@sourceware.org>; Wed, 4 Nov 2026 15:07:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 67BC94BA2E18 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 67BC94BA2E18 Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=40.107.159.71 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1793804843; cv=pass; b=MC5bVY1zpcUd3+7JWjdaC9/hbLIbpN3rOm0fOz9MtDzYJCxeUukzh+yaIzAc0kbsU1dnE8vICugR1WItUtzkGV20eFjhRHMdBWnAerLIzjh5I8+1PS2mHmFuxSljXMnCamN6bjjp5dqdpJVJk8b5UaMFogs8uyM2ckr7kFkSP4o= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1793804843; c=relaxed/simple; bh=+/62VB3zIvrY20+7hrMZaPQTwYBqBF5TCzsHhXlYE1o=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=GEo5BAMYfs3DiFVT+YTYa0iP11l6BMwO47jKzXDXh++t+tgCCOo9ZC2el7FbRfOqDsZqTF1RFtZMtNhY9enYCHy6BkJ8DAXNiqQNIOgPD//RjWxezWkSqnors56IeZWdKGClHNRmlxkop2kP3LawtN7SWdYFKPbjN2LxXtPwbrw= 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=pJ3dS7Eo; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=pJ3dS7Eo DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67BC94BA2E18 ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=oLxjFMRPVmcj+InKr3RkQNNcWqY2TRYJuzVKEj+cJa4Dq0x9qgfCrrz2zHefsB8oh0KAK+ibC3/4wvmh0ifvlLfvH9PVAEni6oPSrESLcVKBcqIHSYdez4eEu5AwM9gVMSVbnfqrLIR0TdvX4ntbWKnVqxtxxFAsjSCvglr6vVC1+aosLhWt39Bo4AZ+BRFypJrJeGxfA1WfzDEvcNYtr0VRJ43Dzme1n619S7u5TAjihdIRbny5YIcYe+pVqpaUIyoXgoU1jHfmY8kiXc88cUOEilL8VBbIJND5ciFBO6KjUp1uTKdfoYNaWhlm6ZX579ReYXve2XSDPTKiykdBXA== 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=H8DrG/zBsdsCb3Nkm8K2oDlSw+IZq2A1JZsjKrjsSCY=; b=QOrN9ruMpUACnylaPUsYupOpU50qS1A5leJIEatW5zoCK1UHV5a2mPBxqFqVRCgseagjmZ7wWp9KxNhV4tUOfygbLYbekkZLVXGSd6oovn2MNawXDd657CCMU1jzQ+D/aGEIFLK0NRaSkPJl8h5na7NXhfLvMQKnAIjdVZvAOGxswSv8r7aPx9JTg1wn9WwrhVuY0ednLxW9qMEtN2xpbfCafPgYk4TIdIVXBzjrzL2jf3XKOxo+RYiqMxhWd2PBz8ocmGs6C4BAWxYkksqUZQD4yRVsudHKuWjiprRwh6R3Gt/8QItthKHg3/QjN4QP2BAgilyw13aeZck6+yXfhg== 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=H8DrG/zBsdsCb3Nkm8K2oDlSw+IZq2A1JZsjKrjsSCY=; b=pJ3dS7EoZtHw9UxmorDw5+p3dMYTj7AUkSCbv/Yk46NQqMdc07Y04SIZ9itP8SOjAWK82aHZFvNDvJTHCWD+tip5qrTCEWpAnVMxJ5NuRgqEGz/duuUB7oZekklloQnQonpqiEFuijprzGQmQkCZTuDfBzdyGIsGhPbN3gdNYpM= Received: from DB8P191CA0004.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::14) by DU0PR08MB7762.eurprd08.prod.outlook.com (2603:10a6:10:3ba::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.546.22; Wed, 4 Nov 2026 15:07:16 +0000 Received: from DU2PEPF00028D12.eurprd03.prod.outlook.com (2603:10a6:10:130:cafe::3a) by DB8P191CA0004.outlook.office365.com (2603:10a6:10:130::14) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.592.9 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 DU2PEPF00028D12.mail.protection.outlook.com (10.167.242.26) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.569.4 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=saOJW3BQj27aXrgKayMZCc/LX/Cpf1KyPidZNLuC3O2EzmDAyP7CgIbqGq0XJqd8Yesj1HNRnzoNz0PNaMJkJdgcb4ZyfPGOU7sg9UGdzPdpRLqcmv7L2R7V7VnUDOZ+qO5krLoXFtUI1xEIraSF24PdpkA/PqESC8QGTO7Kg23T8eetv8LkR0R9Zv1Nfn7XKZYEJ+5mM83k3MqAO1gSvCfkZFxxUujWBUYj33kg5mjbw0HMmZ0N/o8jnryC6CLeIbMpPo0h4HP8F6kYYt2XfNqP5Ha0f9jwv7eHqWJoNan4V7AoqwL8gzz74d6R7LOgIf1bKQQNk6pgGXeoB1ZWdQ== 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=H8DrG/zBsdsCb3Nkm8K2oDlSw+IZq2A1JZsjKrjsSCY=; b=O7jogsLO0nPrx8QDf+pM2h6dTnrqBsqDZbOrrflRhFf++ulTXNqoPQLiRBVh7Re9+NyxDAmgsTlrxLdV3NTrFpxfajZRD1OJe0NuYSOMA7o308QinqYjUFTNCkSfdVpWs8YPrdGVlUd4gEYuZaj1wf0ljlRpkZhNqyeFCIQz/IhCu6NwGUbp0xyrMdiH/5O9ppHRxC3QCeYg0mxM9udwjuFyuv4rhXfgM2OIO/ykWm0yzkJSYMiSGCtUSo53OmaQaN+7kWmJReY5+lklz5bKRqAss4euVStQeVpxRsX2FDqY3CLg+abb1RiXL6IfePiBDnYZTXoAK8n8J4pqAIfD4A== 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=H8DrG/zBsdsCb3Nkm8K2oDlSw+IZq2A1JZsjKrjsSCY=; b=pJ3dS7EoZtHw9UxmorDw5+p3dMYTj7AUkSCbv/Yk46NQqMdc07Y04SIZ9itP8SOjAWK82aHZFvNDvJTHCWD+tip5qrTCEWpAnVMxJ5NuRgqEGz/duuUB7oZekklloQnQonpqiEFuijprzGQmQkCZTuDfBzdyGIsGhPbN3gdNYpM= Received: from PR3P251CA0003.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:b5::6) by GVXPR08MB11744.eurprd08.prod.outlook.com (2603:10a6:150:316::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.592.9; Wed, 4 Nov 2026 15:06:43 +0000 Received: from MAD0EPF000008C5.eurprd05.prod.outlook.com (2603:10a6:102:b5:cafe::7e) by PR3P251CA0003.outlook.office365.com (2603:10a6:102:b5::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:06:42 +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 MAD0EPF000008C5.mail.protection.outlook.com (10.167.241.201) 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:42 +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:40 +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:40 +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 tanf mixed-lane results [BZ #34922] Date: Wed, 4 Nov 2026 15:06:40 +0000 Message-ID: <20261104150640.23795-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: MAD0EPF000008C5:EE_|GVXPR08MB11744:EE_|DU2PEPF00028D12:EE_|DU0PR08MB7762:EE_ X-MS-Office365-Filtering-Correlation-Id: 088d58e5-2286-4b7c-330c-08df3a854ff7 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|82310400026|376014|36860700016|23010399003|1800799024|10067099003|18002099003|56012099006|11063799006|261102123227099003|261026121527099003|261021123027099003|261021121427099003|261009223027099003; X-Microsoft-Antispam-Message-Info-Original: 5YKnmI1ASMgho1Oycfvs1xOCH7Nf7hFXnG7F07nWS50ZLihdVAuThMpSU9LuR8S+fIlgc5mjXNtt2fj9o5lXeVHAfJn/yP4Q0x/93bLAeGJZpKCe5JUg9jfv7YeHaJYgsS0hGFA1xr5za2Q2sGel2+Fimg5iDKe960dtJ/4sVYXWILhy/D29rRgVPuCgqvCAcZbCfONj3l0NLVPgQRd6YmceqyS1XEpQm7JaDmr5VTIAv5g5sBtKubWBuIuOLbTY/FH9akpbuY+PPLRR+RGVE51HoziOviAI2a3vim1g82svGJ6sImlVlqu77vGlWy8b0MryBAZpyrT+cMQg86Ye1n0OtzGm2Sle5CIOKd4PdgteHE86rUi4HUTDiU+c6fD+q75HXerBbn5qANocPE9pF31+nO/oBWH3JhcoBujd3zo4aE4I/6FWqubQMDdWIJfEBC6yv6I+8DAEkTzytp5L+rPKdsv456OAnTaCHmDcBeml7fQGaCtaYC2vd4GAb7hRdyN3bs2o0g5fJcWvGUqZwq8tUXsufOtev161Dqx1cW/sfx0TXHuCEL3zwGY4qFN0bU5WPL+Sg+UnR5J+Zb1Dw7IvUjGULiLA5pifTDgwQlLMNb53nHQliL2AaW5Yl1YLzGCwkmCCWR3U5D//SBSvNLHbyjPCwIkAFR7VNiDV6ogXimSDIc4SKcbagdWSYY6tQoF7k1DC1v3iX7JAMdixEQ== 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)(82310400026)(376014)(36860700016)(23010399003)(1800799024)(10067099003)(18002099003)(56012099006)(11063799006)(261102123227099003)(261026121527099003)(261021123027099003)(261021121427099003)(261009223027099003); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: nSlnoLa2liXH3IEkmkq7WRiGKTpR4ssj6ARrnoN2aILCwze6KZoHNukNpRQkJCR2FC9y/ziiknvZMIRM5z/prpYdaixfgIiaoGFAB44ZtP1aOqIsh+JHRqCnYL3L4BccMtoAp/+l8sHqgpS+PXywl1Ql/KNV3tDpB8XTUjuOPWa8nAgNxVE+0cT/GwkBpuiMsmHhsgqAUjeILdihos2AjhrU0f/wwJU0KcPnCHq2aNVRaWngzXs5w3qor//3ESNWP51m0rDm7BMykvKuCAAhHm2Ig0f7MGN8uKgcWvojtht/LzD3Wg3wxP2Tz36R3uIL5gM9fksGcHnKqXFisN+fZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB11744 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF00028D12.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 18f38be1-3294-48bf-536f-08df3a853c5f X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|376014|1800799024|35042699022|36860700016|14060799003|82310400026|11063799006|261021121427099003|261009223027099003|56012099006|261021123027099003|18002099003|261026121527099003|261102123227099003|10067099003; X-Microsoft-Antispam-Message-Info: MNF4f7f/sWuCOuLKKyy6LhsGpeOZrPPGaCCndidRkvAz6B/v8Bj1y68C8mmN02TQBKgz+zo92lqOsar9ggXOzPIHtOOj/lni2zoqdsFamQzpPnrg3rGNgRNIftlAiwh8rskZaIy5lKf4MtUamzfs0Crwhd+LG1liUhwOUc7BT7wQlRJ4fYjx7Fwuvj/DnufK2ap+dc8Rt/h1O1QzRgMfp4968kGBnbozI8sHHIT+C1RlxaLXGvQJRTrcjYO/M+UVM3qMFK0pn5qNeIkSkrLooR2YTFlQ6kEKJC24DlxCz9CRSFLrBBybiF63qbYJx/3Tr7nd49M6cuNP3dh9MyjVClVvyepQrwvHMVs1bpdMHqdsmpr7Ks7e6XZG0syReOwhJHVBM4WdRzV2VITInYwvH7F9d8AEQ45aufAR+DlohtivxhADPPDvo7k+VK92WHayoWFuziccmFTEaiCFYtxVzlC8h7UjSnW9PV5EEr2fEpsjUwUKbINtS2xlttDGiCImPSV++4sxIOheJY+A4QXHWCgwx8DRZd3kVVnmk60j8qXzTfMJt3QMeI3cqRUDo8F+Y7b9Sc8lSNmfE9bmWGzqp4SX8aYeqeV3htrTDpvWC03NhCGKLHhEowl3wa1x4FrzAt36EkXlRYoAWq3fwuy+BPSi2yZd7EXuun9ZBdFjHwBlQCKR9pmsgGsMJWcbCvoZSV3Oxmuixvyio8+kyO2oKw== 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)(23010399003)(376014)(1800799024)(35042699022)(36860700016)(14060799003)(82310400026)(11063799006)(261021121427099003)(261009223027099003)(56012099006)(261021123027099003)(18002099003)(261026121527099003)(261102123227099003)(10067099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: m/749ddjBlQBq4gEr8Fyk4pqKlWv8d6xq9QL47T9re3fc2YY0leSs+eNlCozu2xTVwDonIU5lwGGx7vCNqkJexRa/evHW+gx/Vjs8fm1Hrc/xTbe44aO7yde86zV7JKn+N7fWZUf+7opgwHeny+b0qy0fbYT7VcyCPSvMTchvE5z/DQAHtQcLlZasTDR8TT+rR5Lf1Ep76tc508U4mljfHMAKYNqeUIiqrQyOX9DYtQfMMDN5iW1YO2FJ16eLy20LR73I0NVguJ9spV1LYL71NxANMECXsq7dDfKc9y7MqsTAAT2uDrUvk5OoCLOyuSJkMi4ZP4CXZ2uyXUa2j+KJFv9mWYkiha96W/ZPg4P0ejUiOps2W8DuSyZn+CRIHESBRP3a0QQuzSwgBeLPZvciLF1QavNwPo9XfuuB/iNzdfTGM4NV/6VhJm6oVMnsV11 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2026 15:07:15.6196 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 088d58e5-2286-4b7c-330c-08df3a854ff7 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: DU2PEPF00028D12.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB7762 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 tanf mixed-lane results [BZ #34922]
|
|
Checks
| Context | Check | Description |
|---|---|---|
| redhat-pt-bot/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
| redhat-pt-bot/TryBot-32bit | success | Build for i686 |
| linaro-tcwg-bot/tcwg_glibc_build--master-arm | success | Build passed |
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 | success | Build passed |
| 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 special-case path reciprocates every lane before calling scalar tanf for large inputs. This also changes ordinary lanes which do not need the reciprocal, so inputs [0.0f, 0x1p15f, ...] return infinity in the first lane instead of zero. Fixed by passing the alternate-lane predicate to special_case and selecting the reciprocal only where needed before handling the special lanes. --- SHARED-FILES | 2 +- sysdeps/aarch64/fpu/sve/tanf.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)
Comments
On 04/11/26 12:06, Dylan Fleming wrote: > The special-case path reciprocates every lane before calling scalar tanf > for large inputs. This also changes ordinary lanes which do not need the > reciprocal, so inputs [0.0f, 0x1p15f, ...] return infinity in the first > lane instead of zero. This requires a regression testcase, as we do for all other math function. > > Fixed by passing the alternate-lane predicate to special_case and selecting > the reciprocal only where needed before handling the special lanes. > --- > SHARED-FILES | 2 +- > sysdeps/aarch64/fpu/sve/tanf.c | 6 ++++-- > 2 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/SHARED-FILES b/SHARED-FILES > index 8f89400177..2c6e4546dd 100644 > --- a/SHARED-FILES > +++ b/SHARED-FILES > @@ -573,7 +573,7 @@ arm-optimized-routines: > sysdeps/aarch64/fpu/sve/sinpif.c > # math/aarch64/sve/tan.c, revision 1aad38d > sysdeps/aarch64/fpu/sve/tan.c > - # math/aarch64/sve/tanf.c, revision 1aad38d > + # math/aarch64/sve/tanf.c, revision 5e51e52 > sysdeps/aarch64/fpu/sve/tanf.c > # math/aarch64/sve/tanh.c, revision 1aad38d > sysdeps/aarch64/fpu/sve/tanh.c > diff --git a/sysdeps/aarch64/fpu/sve/tanf.c b/sysdeps/aarch64/fpu/sve/tanf.c > index 60d93fd7e2..4a627d31e0 100644 > --- a/sysdeps/aarch64/fpu/sve/tanf.c > +++ b/sysdeps/aarch64/fpu/sve/tanf.c > @@ -47,8 +47,10 @@ static const struct data > }; > > static svfloat32_t NOINLINE > -special_case (svfloat32_t x, svfloat32_t y, svbool_t cmp) > +special_case (svfloat32_t x, svfloat32_t y, svbool_t cmp, svbool_t pred_alt) > { > + svfloat32_t inv_y = svdivr_x (svptrue_b32 (), y, 1.0f); > + y = svsel (pred_alt, inv_y, y); > return sv_call_f32 (tanf, x, y, cmp); > } > > @@ -107,7 +109,7 @@ svfloat32_t SV_NAME_F1 (tan) (svfloat32_t x, const svbool_t pg) > /* Determine whether input is too large to perform fast regression. */ > svbool_t cmp = svacge (pg, x, d->range_val); > if (__glibc_unlikely (svptest_any (pg, cmp))) > - return special_case (x, svdivr_x (pg, y, 1.0f), cmp); > + return special_case (x, y, cmp, pred_alt); > > svfloat32_t inv_y = svdivr_x (pg, y, 1.0f); > return svsel (pred_alt, inv_y, y);
On 04/11/26 12:38, Adhemerval Zanella Netto wrote: > > > On 04/11/26 12:06, Dylan Fleming wrote: >> The special-case path reciprocates every lane before calling scalar tanf >> for large inputs. This also changes ordinary lanes which do not need the >> reciprocal, so inputs [0.0f, 0x1p15f, ...] return infinity in the first >> lane instead of zero. > > This requires a regression testcase, as we do for all other math function. I have a test improvement for this, and the fix look ok. I will install and backport to the required branches. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> > >> >> Fixed by passing the alternate-lane predicate to special_case and selecting >> the reciprocal only where needed before handling the special lanes. >> --- >> SHARED-FILES | 2 +- >> sysdeps/aarch64/fpu/sve/tanf.c | 6 ++++-- >> 2 files changed, 5 insertions(+), 3 deletions(-) >> >> diff --git a/SHARED-FILES b/SHARED-FILES >> index 8f89400177..2c6e4546dd 100644 >> --- a/SHARED-FILES >> +++ b/SHARED-FILES >> @@ -573,7 +573,7 @@ arm-optimized-routines: >> sysdeps/aarch64/fpu/sve/sinpif.c >> # math/aarch64/sve/tan.c, revision 1aad38d >> sysdeps/aarch64/fpu/sve/tan.c >> - # math/aarch64/sve/tanf.c, revision 1aad38d >> + # math/aarch64/sve/tanf.c, revision 5e51e52 >> sysdeps/aarch64/fpu/sve/tanf.c >> # math/aarch64/sve/tanh.c, revision 1aad38d >> sysdeps/aarch64/fpu/sve/tanh.c >> diff --git a/sysdeps/aarch64/fpu/sve/tanf.c b/sysdeps/aarch64/fpu/sve/tanf.c >> index 60d93fd7e2..4a627d31e0 100644 >> --- a/sysdeps/aarch64/fpu/sve/tanf.c >> +++ b/sysdeps/aarch64/fpu/sve/tanf.c >> @@ -47,8 +47,10 @@ static const struct data >> }; >> >> static svfloat32_t NOINLINE >> -special_case (svfloat32_t x, svfloat32_t y, svbool_t cmp) >> +special_case (svfloat32_t x, svfloat32_t y, svbool_t cmp, svbool_t pred_alt) >> { >> + svfloat32_t inv_y = svdivr_x (svptrue_b32 (), y, 1.0f); >> + y = svsel (pred_alt, inv_y, y); >> return sv_call_f32 (tanf, x, y, cmp); >> } >> >> @@ -107,7 +109,7 @@ svfloat32_t SV_NAME_F1 (tan) (svfloat32_t x, const svbool_t pg) >> /* Determine whether input is too large to perform fast regression. */ >> svbool_t cmp = svacge (pg, x, d->range_val); >> if (__glibc_unlikely (svptest_any (pg, cmp))) >> - return special_case (x, svdivr_x (pg, y, 1.0f), cmp); >> + return special_case (x, y, cmp, pred_alt); >> >> svfloat32_t inv_y = svdivr_x (pg, y, 1.0f); >> return svsel (pred_alt, inv_y, y); >
diff --git a/SHARED-FILES b/SHARED-FILES index 8f89400177..2c6e4546dd 100644 --- a/SHARED-FILES +++ b/SHARED-FILES @@ -573,7 +573,7 @@ arm-optimized-routines: sysdeps/aarch64/fpu/sve/sinpif.c # math/aarch64/sve/tan.c, revision 1aad38d sysdeps/aarch64/fpu/sve/tan.c - # math/aarch64/sve/tanf.c, revision 1aad38d + # math/aarch64/sve/tanf.c, revision 5e51e52 sysdeps/aarch64/fpu/sve/tanf.c # math/aarch64/sve/tanh.c, revision 1aad38d sysdeps/aarch64/fpu/sve/tanh.c diff --git a/sysdeps/aarch64/fpu/sve/tanf.c b/sysdeps/aarch64/fpu/sve/tanf.c index 60d93fd7e2..4a627d31e0 100644 --- a/sysdeps/aarch64/fpu/sve/tanf.c +++ b/sysdeps/aarch64/fpu/sve/tanf.c @@ -47,8 +47,10 @@ static const struct data }; static svfloat32_t NOINLINE -special_case (svfloat32_t x, svfloat32_t y, svbool_t cmp) +special_case (svfloat32_t x, svfloat32_t y, svbool_t cmp, svbool_t pred_alt) { + svfloat32_t inv_y = svdivr_x (svptrue_b32 (), y, 1.0f); + y = svsel (pred_alt, inv_y, y); return sv_call_f32 (tanf, x, y, cmp); } @@ -107,7 +109,7 @@ svfloat32_t SV_NAME_F1 (tan) (svfloat32_t x, const svbool_t pg) /* Determine whether input is too large to perform fast regression. */ svbool_t cmp = svacge (pg, x, d->range_val); if (__glibc_unlikely (svptest_any (pg, cmp))) - return special_case (x, svdivr_x (pg, y, 1.0f), cmp); + return special_case (x, y, cmp, pred_alt); svfloat32_t inv_y = svdivr_x (pg, y, 1.0f); return svsel (pred_alt, inv_y, y);