From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60058.outbound.protection.outlook.com [40.107.6.58]) by sourceware.org (Postfix) with ESMTPS id 802DB3890417 for ; Thu, 18 Jun 2020 17:18:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 802DB3890417 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Wilco.Dijkstra@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=NZCnHbmLWOky7CY/DF/at4A8r2ob5toYVHYRlgRgoZ0=; b=6D0bGZn5rzNEGXHu/uYV7ITBx+LsPDiFwJxzQC1E2VYSsa7cMoktQIlx2quGiTA15Mou2kKj2KZNhKQDhnyMcYsSrATpL5cruiXf9t725A/yQ2vZy4/Myyb6PozO4WWsQWB9ehJWgRTSznjAQrdIugrRno2+p49PSuzhHLKST08= Received: from AM6P194CA0031.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:90::44) by AM4PR0802MB2242.eurprd08.prod.outlook.com (2603:10a6:200:5f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.20; Thu, 18 Jun 2020 17:18:11 +0000 Received: from VE1EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:90:cafe::b7) by AM6P194CA0031.outlook.office365.com (2603:10a6:209:90::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Thu, 18 Jun 2020 17:18:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; sourceware.org; dmarc=bestguesspass 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT027.mail.protection.outlook.com (10.152.18.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22 via Frontend Transport; Thu, 18 Jun 2020 17:18:10 +0000 Received: ("Tessian outbound b2c4593baa67:v59"); Thu, 18 Jun 2020 17:18:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9c8411da27fb631b X-CR-MTA-TID: 64aa7808 Received: from 7173da50a286.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 33077D8D-DEC7-48E0-B550-140FDCB47E24.1; Thu, 18 Jun 2020 17:18:05 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7173da50a286.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 18 Jun 2020 17:18:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mgm8SmpPBFzvCd1SUky8hIMolK0f6tsw7dCuNOQBONVSE7ueyQNMeipDPBUGJz9pMbE2s9ZjDjo7FDG2rb019mhWf5pKl/A5u9IF1mw+xwY28DvuIO2BgQWZGVt44ZgY6uqPOgJJemHOimgZlbtWDbAu1NJ94GhVvbVTrZkiTpu4sR3jDwa8s7kXbXI4gNUiuuS5yto2FtPRuV5Gc4v+d6QqQR8V+agUXyGCoG67KeUTdEaY2RbxG2D+sNDvd85WKUIB/9u4o8oKaqXh3NgC17x/xaHw2CyRqnp7w/iIEzfe9eNkQOnegT8kJG6X+V1Inav8XPrL0BXpJSpA6J94OA== 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-SenderADCheck; bh=NZCnHbmLWOky7CY/DF/at4A8r2ob5toYVHYRlgRgoZ0=; b=S38Q8XcwQjERMQoH/K+fvnSMGgPc0k5fQLy33Y875FKhrVmytMvkBuJQ0RGvTShd+Bil0s6NdRJm7eJtVnyUz9IupccvD8sm+97vKOtsv+fAbD7MDnEPaEfOHW49Db9QJ/Jxtrl2atya1dKQt9J3wbSyn+3mQSVMPG40m2czdCl8A47/EH/I75a6oem5vhjljlxKYkrm23JN/JQ1hffJi5B3DaAQu1eHO4RBBJ44tO9mAiElFUv5MifnMTGhXoQf/c161l9otSyhvfO9SgPz9kLKKI8xme5ljcTFd2rV3ZVV9YHR8beH/NzxqPD/Co4LAPa+LE/Gps0/qhnLDint3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=NZCnHbmLWOky7CY/DF/at4A8r2ob5toYVHYRlgRgoZ0=; b=6D0bGZn5rzNEGXHu/uYV7ITBx+LsPDiFwJxzQC1E2VYSsa7cMoktQIlx2quGiTA15Mou2kKj2KZNhKQDhnyMcYsSrATpL5cruiXf9t725A/yQ2vZy4/Myyb6PozO4WWsQWB9ehJWgRTSznjAQrdIugrRno2+p49PSuzhHLKST08= Received: from DB8PR08MB5036.eurprd08.prod.outlook.com (2603:10a6:10:ed::20) by DB8PR08MB5386.eurprd08.prod.outlook.com (2603:10a6:10:f9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Thu, 18 Jun 2020 17:18:04 +0000 Received: from DB8PR08MB5036.eurprd08.prod.outlook.com ([fe80::40e3:3b43:9af2:d4ff]) by DB8PR08MB5036.eurprd08.prod.outlook.com ([fe80::40e3:3b43:9af2:d4ff%3]) with mapi id 15.20.3088.029; Thu, 18 Jun 2020 17:18:04 +0000 From: Wilco Dijkstra To: Adhemerval Zanella CC: 'GNU C Library' Subject: [PATCH 5/5] ia64: Use generic exp10f Thread-Topic: [PATCH 5/5] ia64: Use generic exp10f Thread-Index: AQHWRZPPcijepGCQ6E+0CFvIgLh7Xg== Date: Thu, 18 Jun 2020 17:18:04 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=arm.com; x-originating-ip: [82.24.199.97] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 21c9e2e7-d44d-488e-d5bf-08d813ab9377 x-ms-traffictypediagnostic: DB8PR08MB5386:|AM4PR0802MB2242: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:5797;OLM:5797; x-forefront-prvs: 0438F90F17 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Dhlg11R2QgYgPeW4MyAOn+2P6eHISqhHcxhNR88aHKvnoK6cXbqQgJW6Gp16KS2svXTZ+TJXY2yULQT+9TpyZ9nxY2BbPjSbATG7nA3GtbutWH9G4fl/XPzqiYiODThYp2RefrtNER1y5xtpHSUYbXgaIoEU0qgAgF/q7a9aHNmZFzpKUfWkjIfBqJOag0yO5SUf1xIPBNZcTzOXgcdOuYEJ2MRUYa+1PeGu5JTtPwPr/NTQPThCllCYnR9+g8Q6JAc3y6QEkv3m+SGNxc9R7uA+0GoKWWbNbIjpIQZH/fz1Md93Z71ai/8uIBO9Xk31I3a33pVqYH6DvMyjvuHauefFHxun2BWHgOpGr93lr649AGfPSMM+/Bo/jHnoD/sF X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR08MB5036.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(39860400002)(376002)(396003)(346002)(366004)(186003)(8936002)(5660300002)(86362001)(4744005)(2906002)(71200400001)(52536014)(4326008)(6506007)(53546011)(7696005)(26005)(8676002)(6916009)(33656002)(478600001)(9686003)(66946007)(66476007)(66556008)(64756008)(76116006)(66446008)(55016002)(316002)(41533002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: hiTqbdTKtjKpclKmB4muPzk2KJEfMV4fWfIXn1LN/aBporrGBSSCfU0M0aDDjLRtrcNDCwyT2WMqouj+YtNnc++8o0OCtj2DIdgsJLzEaf8AGZMkDlcgKdggq018YabmQaFzaws9JIRbG9uE+I8TkCyirboeCLP/lT0vEPdEvEPz3GSSLZFDwkK6edEa3jEVAtElyr8Dr8+fuUP3eudB7jIxbRuqG1fUJzlk89F3Vwdm1E316GzkOJlmCCokRGohx5DfeL8D1CD5yB1j9BP9/sNXUNUntmzkLUiJXCM+7D8XSEavIjOn/Z3Py63La11Mb2V/u7KfRQbfA+HjZCXjAxEPuzvQTYjLtWKlsE8V67QzMn8FifJsP+9/GjZlewqvmWqmjRg9cv8hxkcU0XUgm9ktMDSnkxDALIiJ3JENx2fMiWmdHhgGNoekWcm8sd4WClvvs5MQwhvHRr3KJcpsrnvaEQqtsUwAJSsYTlS3JHs= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5386 Original-Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT027.eop-EUR03.prod.protection.outlook.com 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; SFTY:; SFS:(4636009)(346002)(39860400002)(136003)(376002)(396003)(46966005)(82310400002)(186003)(26005)(47076004)(82740400003)(81166007)(8676002)(8936002)(7696005)(53546011)(316002)(6506007)(2906002)(70206006)(70586007)(36906005)(356005)(33656002)(52536014)(4744005)(4326008)(86362001)(5660300002)(55016002)(478600001)(9686003)(6862004)(336012)(41533002); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 9448b4f3-ca21-4480-0e8f-08d813ab8fc5 X-Forefront-PRVS: 0438F90F17 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OLynBClxbhlwcFZLVh0C73FZkFX3dQe20xTAia24ggRb1exvZKE/x2X5Z6f56ISwe6LgFQeL/Hw2fUmtxwPKdbwUjeKAWUjqmBHb4wajW98AzcfKHSvQ+hH+otU+ZHQxigtAdJCzKZqKNduOvtnWs6ItdBPijgZxt/YPy7Dx8IM34hOaae315wpm7hFg7aYFMaqyHGm+qEH6LiZZ+xK3HMymPyCLjLN0EPAgLJqsfBqjimCDNJdIsXVrdhvy1Okh7p+CZTgbu7zU/Ve/LQds7ZwPNBXs/vz8+eAlwxXy64sRX2I+JxiGgN6ykbZyTLCH2B6vtw+XqsTdOd/x7Hn8BtjD2BEbzIhd0fzkTNtEIYC2umDBf0S58BFXCSfAluGJAZLsfEY8GC9fYTHasVYGiHGX3sXiugfWlHrZL18oHoU= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2020 17:18:10.6211 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21c9e2e7-d44d-488e-d5bf-08d813ab9377 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2242 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2020 17:18:16 -0000 Hi Adhemerval,=0A= =0A= On 09/04/2020 16:59, Adhemerval Zanella wrote:=0A= > The generic implementation is slight worse (Itanium(R) Processor 9020):= =0A= > =0A= > Before new code:=0A= > "exp10f": {=0A= > "": {=0A= > "duration": 3.52876e+08,=0A= > "iterations": 2.1456e+07,=0A= > "max": 232.907,=0A= > "min": 7.766,=0A= > "mean": 16.4465=0A= > }=0A= > }=0A= > =0A= > With new code:=0A= > "exp10f": {=0A= > "": {=0A= > "duration": 3.67279e+08,=0A= > "iterations": 2.1456e+07,=0A= > "max": 220.718,=0A= > "min": 15.503,=0A= > "mean": 17.1178=0A= > }=0A= > }=0A= > =0A= > However it fixes all the issues on both:=0A= > =0A= > math/test-float-exp10=0A= > math/test-float32-exp10=0A= > =0A= > (all the issues wrong results for non default rounding modes).=0A= =0A= That's only a 4% slowdown - given it removes almost 600 lines of target=0A= specific code and fixes various bugs, it's well worth it. LGTM.=0A= =0A= Wilco=