[{"id":1771019,"web_url":"http://patchwork.ozlabs.org/comment/1771019/","msgid":"<alpine.DEB.2.20.1709191333220.2962@digraph.polyomino.org.uk>","list_archive_url":null,"date":"2017-09-19T13:36:14","subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","submitter":{"id":4349,"url":"http://patchwork.ozlabs.org/api/people/4349/","name":"Joseph Myers","email":"joseph@codesourcery.com"},"content":"All the proposed performance improvements should have the benchmarks used \nto justify them checked in.\n\nA powf benchmark is checked in.  Benchmarks for expf and logf appear to \nhave been approved but not yet checked in.  So as well as those needing to \nbe checked in, we need exp2f and log2f benchmarks - they might be a fairly \narbitrary small selection of input values, but they should still be there.","headers":{"Return-Path":"<libc-alpha-return-84735-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84735-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"SjoStoFX\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxP6W3DCJz9sMN\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 23:36:35 +1000 (AEST)","(qmail 57833 invoked by alias); 19 Sep 2017 13:36:25 -0000","(qmail 57709 invoked by uid 89); 19 Sep 2017 13:36:25 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; q=dns; s=default; b=YvhsR\n\tPXPRMBU9QdUtdWDPMg/KskqpCFavWAVEqM7AWG8/KQVaB5cFOHt8XzFc7Lpe6KXt\n\tNAKF/5tuxPQtHBu81GyqvWwMbMr3SCUfFC25G5GBXyKOXXziji8v0pXusL71I7sS\n\tWBYgPG+3bvwvnMyS5gpJ0U+gPgiEOlCetU6I8Q=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; s=default; bh=H9U8yX3Hhu3\n\tT9Qopo3QnDSovfoI=; b=SjoStoFXET14YENXS4FshFYqXdtSCYW2wHtivVFAKSx\n\tSD7v3stAdo0fd2PgqWBZbH2U6bdJ5ClbsszFPToGRcferwVAG2opXk8ugk7hidbi\n\tp7bKRe0bXEqRDvRgjtfbhSG35aPsNGyzKoKpy9qKAMUesZL5SWfbUsl1uPAcWhds\n\t=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-2.0 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=","X-HELO":"relay1.mentorg.com","Date":"Tue, 19 Sep 2017 13:36:14 +0000","From":"Joseph Myers <joseph@codesourcery.com>","To":"Szabolcs Nagy <szabolcs.nagy@arm.com>","CC":"GNU C Library <libc-alpha@sourceware.org>, <nd@arm.com>","Subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","In-Reply-To":"<59C1123F.9080003@arm.com>","Message-ID":"<alpine.DEB.2.20.1709191333220.2962@digraph.polyomino.org.uk>","References":"<59C1123F.9080003@arm.com>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"US-ASCII\"","X-ClientProxiedBy":"svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To\n\tsvr-ies-mbx-01.mgc.mentorg.com (139.181.222.1)"}},{"id":1771712,"web_url":"http://patchwork.ozlabs.org/comment/1771712/","msgid":"<59C23691.8080100@arm.com>","list_archive_url":null,"date":"2017-09-20T09:36:17","subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","submitter":{"id":65667,"url":"http://patchwork.ozlabs.org/api/people/65667/","name":"Szabolcs Nagy","email":"szabolcs.nagy@arm.com"},"content":"On 19/09/17 13:49, Szabolcs Nagy wrote:\n> updated patchset, now with logf, log2f and powf too.\n> some libm_alias_float changes in math/w_*_compat.c got reverted.\n> \n> Szabolcs Nagy (9):\n>   Optimized generic expf and exp2f with wrappers\n>   New expf and exp2f version without SVID compat wrapper\n>   Do not wrap expf and exp2f\n>   New generic logf\n>   New generic log2f\n>   New generic powf\n>   New symbol version for logf, log2f and powf without SVID compat\n>   Do not wrap logf, log2f and powf\n>   AArch64: update libm-test-ulps\n> \n\nnow i added these to an nsz/math branch so others can test it.","headers":{"Return-Path":"<libc-alpha-return-84773-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84773-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"xkihrYRE\"; dkim-atps=neutral","sourceware.org; auth=none","spf=none (sender IP is )\n\tsmtp.mailfrom=Szabolcs.Nagy@arm.com; "],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxvlF6DtHz9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 19:36:41 +1000 (AEST)","(qmail 19536 invoked by alias); 20 Sep 2017 09:36:35 -0000","(qmail 19520 invoked by uid 89); 20 Sep 2017 09:36:33 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:message-id:date:from:mime-version:to:cc\n\t:subject:references:in-reply-to:content-type\n\t:content-transfer-encoding; q=dns; s=default; b=sZu8KfshzPV8JkjM\n\tP4N8lVgViZOMrsfh655Dfg9lp/R6jTcM6FCxVAIUgdjgl7HtzNiTQrnOSCksRMVr\n\taWUm4mXlsAfgusHQvLkO+oukg5y8pnIz5+VlJ0kalMdDUfgSX/RADT3yfidBCLd8\n\tnObfDyCOpe/wwgjbCbPOduDKAHk=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:message-id:date:from:mime-version:to:cc\n\t:subject:references:in-reply-to:content-type\n\t:content-transfer-encoding; s=default; bh=FOIvdy1GVLI448EHD3IcYK\n\t2nDAs=; b=xkihrYREcZWLDtXSmPhzMlZwp14EL8Px/fNRCNVcnNAXcgAmQkWQcP\n\t6/uggdp+zyGTlOxCe21+GxjOFE+4I/XCOHH5mBleNHGLRbF/fE5GTg1PSl9Lbmp4\n\t8yJZDfpZd5bbKJnoALmCUkU1s6qP4M3+daEcA3ie6BUMetukVJcKE=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-2.2 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, SPF_HELO_PASS,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=nsz","X-HELO":"EUR01-DB5-obe.outbound.protection.outlook.com","Message-ID":"<59C23691.8080100@arm.com>","Date":"Wed, 20 Sep 2017 10:36:17 +0100","From":"Szabolcs Nagy <szabolcs.nagy@arm.com>","User-Agent":"Mozilla/5.0 (X11; Linux x86_64;\n\trv:31.0) Gecko/20100101 Thunderbird/31.8.0","MIME-Version":"1.0","To":"GNU C Library <libc-alpha@sourceware.org>","CC":"nd@arm.com, \"H.J. Lu\" <hjl.tools@gmail.com>","Subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","References":"<59C1123F.9080003@arm.com>","In-Reply-To":"<59C1123F.9080003@arm.com>","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit","X-ClientProxiedBy":"HE1PR05CA0138.eurprd05.prod.outlook.com\n\t(2603:10a6:7:28::25) To VI1PR0802MB2495.eurprd08.prod.outlook.com\n\t(2603:10a6:800:b6::23)","X-MS-PublicTrafficType":"Email","X-MS-Office365-Filtering-Correlation-Id":"fd5fc794-daec-4719-8e4e-08d5000b0e16","X-MS-Office365-Filtering-HT":"Tenant","X-Microsoft-Antispam":"UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:VI1PR0802MB2495; ","X-Microsoft-Exchange-Diagnostics":["1; VI1PR0802MB2495;\n\t3:5IYkBriaeb4TI5/Tou4aTgSY93qvAktTECqb8zZHcG7KopsMT1rbo6bvPKgsHm71bf3hd37VOEyim7S1PmykOrD9B+F8wCYHy28g1BbdnqdXMWG6jFMGdnOSXD9YOUxhh/b6DGCPYMU6dbJxfjp56TtG7zgnTwJxAgim/YCiQWXIeR2Gxce3Ch6HzwYRkzwDc+q5U1i/vzAEomOeq/Oy9jMCRFB7d9ViBGtpaDFHpTMKR7gpFjJieeeaEnHZmW8r;\n\t25:9YlHHDjcIHrU0kJwYBlWhXM9m6jL1N3O5o3Lj0yn2D2+cMMEcqc+ljiWLFcoLRqP+u7CLxSK55m43ft32PYFA2q1k55cilrXJFMLtF1EV3a31BkIgr5tELgT78OnDKz5aIjqoiTl28T3CEsKBpzscklv9yTgwt5lxkBRCv7Q1LwJJaGeqfvsX/zIRWlK4w8UIwNIsL88xu4+ip20OVRf5dYjSSx9x4F22R4HwFBFEdhnYUrqp8toAX7GMP+sc0dd03AhKKiHsregaJXQXwUmbwYZW3tyV+x83+pp+J6iFSB1hOTa7mhf/zSIxyCGmtJC6K8Ei5Uf3pVHLVrNLQKvQA==;\n\t31:YxRR0bpcD29mqEB5dnGLW3ai0ACgFKt1r4OUrxBWTpXgoX1v1131O95IFl4HhmCSOkN9DrzS+mbC9HVNqakYGUnJjpC3zfr19k9j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Kyihx4DXfqT4kGxoZOIy3C0PawukKWa1D7FT1vUM65efQqD2i+F+Zg6N6nEndR1if6y4U0K2k0YnkPriGnyOSvlqkkWTAC5BjOH8PDJcVc2HqK08oLiGbJ6iPX37QLY8KPC2RjWniXg="],"X-MS-TrafficTypeDiagnostic":"VI1PR0802MB2495:","NoDisclaimer":"True","X-Exchange-Antispam-Report-Test":"UriScan:;","X-Microsoft-Antispam-PRVS":"<VI1PR0802MB249593471862DFE145518FFFED610@VI1PR0802MB2495.eurprd08.prod.outlook.com>","X-Exchange-Antispam-Report-CFA-Test":"BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:VI1PR0802MB2495; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:VI1PR0802MB2495; ","X-Forefront-PRVS":"04362AC73B","X-Forefront-Antispam-Report":"SFV:NSPM;\n\tSFS:(10009020)(4630300001)(7370300001)(6049001)(6009001)(346002)(376002)(39860400002)(189002)(24454002)(199003)(66066001)(16576012)(65806001)(16526017)(7736002)(58126008)(64126003)(80316001)(6246003)(7350300001)(23676002)(53546010)(47776003)(86362001)(478600001)(316002)(6486002)(77096006)(8676002)(81166006)(81156014)(83506001)(229853002)(6666003)(65956001)(305945005)(230700001)(189998001)(53936002)(2950100002)(50466002)(76176999)(50986999)(87266999)(54356999)(3846002)(6116002)(65816999)(105586002)(59896002)(106356001)(72206003)(68736007)(2906002)(36756003)(97736004)(25786009)(101416001)(6916009)(4326008)(5660300001)(33656002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2495;\n\tH:[10.2.206.69]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1;\n\tLANG:en; ","Received-SPF":"None (protection.outlook.com: arm.com does not designate\n\tpermitted sender hosts)","SpamDiagnosticOutput":"1:99","SpamDiagnosticMetadata":"NSPM","X-OriginatorOrg":"arm.com","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"20 Sep 2017 09:36:21.7698\n\t(UTC)","X-MS-Exchange-CrossTenant-FromEntityHeader":"Hosted","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"VI1PR0802MB2495"}},{"id":1774089,"web_url":"http://patchwork.ozlabs.org/comment/1774089/","msgid":"<CAMe9rOqCq0iThPW9e=j9fdf4bZzS6xEth2fC5Q-W6eLkkF78DA@mail.gmail.com>","list_archive_url":null,"date":"2017-09-23T23:03:38","subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","submitter":{"id":4387,"url":"http://patchwork.ozlabs.org/api/people/4387/","name":"H.J. Lu","email":"hjl.tools@gmail.com"},"content":"On 9/20/17, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:\n> On 19/09/17 13:49, Szabolcs Nagy wrote:\n>> updated patchset, now with logf, log2f and powf too.\n>> some libm_alias_float changes in math/w_*_compat.c got reverted.\n>>\n>> Szabolcs Nagy (9):\n>>   Optimized generic expf and exp2f with wrappers\n>>   New expf and exp2f version without SVID compat wrapper\n>>   Do not wrap expf and exp2f\n>>   New generic logf\n>>   New generic log2f\n>>   New generic powf\n>>   New symbol version for logf, log2f and powf without SVID compat\n>>   Do not wrap logf, log2f and powf\n>>   AArch64: update libm-test-ulps\n>>\n>\n> now i added these to an nsz/math branch so others can test it.\n>\n\nI created hjl/nsz/math branch to replace x86-64 assembly versions of\ne_expf with generic\ne_expf.c.  I got\n\nFAIL: math/test-float-clog10\nFAIL: math/test-float-exp\nFAIL: math/test-float-finite-clog10\nFAIL: math/test-float-finite-exp\nFAIL: math/test-ifloat-clog10\nFAIL: math/test-ifloat-exp\n\nwhich are caused by\n\nhjl@gnu-efi-2 build-x86_64-linux]$ cat math/test-float-exp.out\ntesting float (without inline functions)\nFailure: Test: exp_downward (-0x1p-20)\nResult:\n is:          9.99998986e-01   0x1.ffffdep-1\n should be:   9.99999046e-01   0x1.ffffe0p-1\n difference:  5.96046447e-08   0x1.000000p-24\n ulp       :  1.0000\n max.ulp   :  0.0000\nFailure: Test: exp_downward (0x5.8b90b8p+4)\nResult:\n is:          3.40279831e+38   0x1.ffff06p+127\n should be:   3.40279851e+38   0x1.ffff08p+127\n difference:  2.02824096e+31   0x1.000000p+104\n ulp       :  1.0000\n max.ulp   :  0.0000\nMaximal error of `exp_downward'\n is      : 1 ulp\n accepted: 0 ulp\nFailure: Test: exp_towardzero (-0x1p-20)\nResult:\n is:          9.99998986e-01   0x1.ffffdep-1\n should be:   9.99999046e-01   0x1.ffffe0p-1\n difference:  5.96046447e-08   0x1.000000p-24\n ulp       :  1.0000\n max.ulp   :  0.0000\nFailure: Test: exp_towardzero (0x5.8b90b8p+4)\nResult:\n is:          3.40279831e+38   0x1.ffff06p+127\n should be:   3.40279851e+38   0x1.ffff08p+127\n difference:  2.02824096e+31   0x1.000000p+104\n ulp       :  1.0000\n max.ulp   :  0.0000\nMaximal error of `exp_towardzero'\n is      : 1 ulp\n accepted: 0 ulp\n\nTest suite completed:\n  356 test cases plus 352 tests for exception flags and\n    352 tests for errno executed.\n  6 errors occurred.\n[hjl@gnu-efi-2 build-x86_64-linux]$\n\nArjan, have you measured performance assembly versions of expf vs generic expf?","headers":{"Return-Path":"<libc-alpha-return-84893-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84893-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"eUO21V1i\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y05WB4Gdyz9t3Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 09:03:50 +1000 (AEST)","(qmail 81348 invoked by alias); 23 Sep 2017 23:03:43 -0000","(qmail 81337 invoked by uid 89); 23 Sep 2017 23:03:42 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-type; q=dns; s=default; b=ZI0v\n\t9O9zfYhj6znS9udqcjaCyZL/b1swJ4/d9o1OfmZEq5IQ3K7PWq0jsw/XBndMY6tB\n\t43NI5r9nEBG+Ti93kn4rofF2aDCC3DS49kMqqSAefMdLSPIrK8WFUdiMJL29+0Gg\n\tpeLneRPbg8cnUlDp563RC4brv7cJFUs42YyZLMo=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-type; s=default; bh=HEjgj/GxBg\n\t1ZVcdmlTGxooTn3CQ=; b=eUO21V1i9IQa1xlGxGAUmdeRm2JoNDmcUqN2szkDZn\n\ttalsfJu7S3x0RPLQLAvMRQSE2SWj3S8Y9pG7IzZpjIuFWP91d7DGNf079aDWJ651\n\tpyca7/2yoZ5444MV8cNKg206+piC38dyje1ifmJDwD0ipwQH5xyyoWiPZi+RYbyV\n\tk=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-2.5 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=no version=3.3.2 spammy=1.0000","X-HELO":"mail-oi0-f65.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=o9ulEuF8cA8VxRvK7TS3ADigOJe+eZ8xrMfV51QaiRM=;\n\tb=cgnv6pcGn/m/ymEh/GwSIEOH/50HI8NYm+OeSe8ZxRNZxFl5jdAIpl7L+ZFglZDjI9\n\tFZmQA35BYZ9HnH62cngHsYxZ+NC2/UUerRuA9dnfX4drzeeYtq95UJBqS2e4/EuDOwuN\n\t5oa//UVJPfCQ3Iwlhdx22Ns0iDmG6nlKbQMNOkRt848nzL9a8iw6KyqDAft7Mbh7/x/W\n\tqDSBy7hvkIdUdiK5/A2utmTMchRea8P/GJlylf/9+LNNxjMRNUJ+txiSpZHMzHDjQ1b0\n\t0sUyg1YygKN3XPSDJlZKYr8v9uhMd6kxu2246VC90vWMDRIRVUI4z10Uqc/xKOUmaAGQ\n\tydEg==","X-Gm-Message-State":"AHPjjUiuQqLGPn5HJB3sbHrKIzTehN2N+0iP7UtRSMAaeXp3gf7xy73g\n\tuPvd4kdc/1gei4MzjP16ZxNY49gHKaKEN0xKUMU=","X-Google-Smtp-Source":"AOwi7QCKsJ+ytq+hWHlhY/FJyyD/Y2tCyMIz9oPTGfCllRfPWIsFNZeSaUuM8qKnBX8+X9bnz/Q+tbPUzBorVWfj00o=","X-Received":"by 10.202.48.83 with SMTP id w80mr3889028oiw.97.1506207819163;\n\tSat, 23 Sep 2017 16:03:39 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<59C23691.8080100@arm.com>","References":"<59C1123F.9080003@arm.com> <59C23691.8080100@arm.com>","From":"\"H.J. Lu\" <hjl.tools@gmail.com>","Date":"Sat, 23 Sep 2017 16:03:38 -0700","Message-ID":"<CAMe9rOqCq0iThPW9e=j9fdf4bZzS6xEth2fC5Q-W6eLkkF78DA@mail.gmail.com>","Subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","To":"Szabolcs Nagy <szabolcs.nagy@arm.com>","Cc":"GNU C Library <libc-alpha@sourceware.org>, nd@arm.com, \n\tArjan van de Ven <arjan@linux.intel.com>","Content-Type":"text/plain; charset=\"UTF-8\""}},{"id":1774095,"web_url":"http://patchwork.ozlabs.org/comment/1774095/","msgid":"<a07a8a3c-f1af-e69e-5529-a5e3339cf111@linux.intel.com>","list_archive_url":null,"date":"2017-09-24T00:53:33","subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","submitter":{"id":51,"url":"http://patchwork.ozlabs.org/api/people/51/","name":"Arjan van de Ven","email":"arjan@linux.intel.com"},"content":">>>\n>>\n>> now i added these to an nsz/math branch so others can test it.\n>>\n> \n> I created hjl/nsz/math branch to replace x86-64 assembly versions of\n> e_expf with generic\n> e_expf.c.  I got\n> \n\n<snip results>\n\nall results are <= 1ulp\n\n> \n> Test suite completed:\n>    356 test cases plus 352 tests for exception flags and\n>      352 tests for errno executed.\n>    6 errors occurred.\n> [hjl@gnu-efi-2 build-x86_64-linux]$\n> \n> Arjan, have you measured performance assembly versions of expf vs generic expf?\n> \n\nthe generic expf is faster than the ASM version; the generic version has an order 3 polyinomal\nwhile the ASM version has an order 4.\nIn addition, the embedding of the errno stuff is a big deal (I already had that for exp() in my\nown project) since the exp[f]() code knows exactly when it's not needed at all (the fast path)\n\nso we really should move x86-64 over to this generic version if the 1ulp is acceptable","headers":{"Return-Path":"<libc-alpha-return-84894-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84894-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"C2qLn6RH\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y07y03JGbz9t4P\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 10:53:44 +1000 (AEST)","(qmail 94794 invoked by alias); 24 Sep 2017 00:53:37 -0000","(qmail 94669 invoked by uid 89); 24 Sep 2017 00:53:37 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; q=dns; s=default; b=PAuvkG81MTGzWZMe\n\t0R0wrJZRiULJQCVo1B+ak1TJEWdn3mN92FviCmqho0UPGRjTaTtftIhtlLeW8uHV\n\tVM1Zc3jI3E7u/gg7krQrsjgeE9gshReeHmTfsfU02RIkEllXOuuvqPJnvagJF72Q\n\tCVBcu0//PNFsnFtuftwcOeaubPY=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; s=default; bh=wyLidlUsyjkftkZ28+dlxZ\n\tK5I4Q=; b=C2qLn6RHBJ6EEYCJh8iGCdzoueT3SAkho61+pObvORPhlUnA0Yu3yG\n\tw0URbJlouyUIKqc7g35WENFK1kyDBTB6F16xjJxhknlZDcFjHWpCtrKXIU4XyWOk\n\tLscvbC7UJME/h4aK2p2wScRVstK61FQ+AmeEnrBldyAIg5AM0j7z0=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-0.9 required=5.0 tests=BAYES_00,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*RU:HELO,\n\tHx-spam-relays-external:HELO, Hx-languages-length:968","X-HELO":"mga03.intel.com","X-ExtLoop1":"1","Subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","To":"\"H.J. Lu\" <hjl.tools@gmail.com>, Szabolcs Nagy <szabolcs.nagy@arm.com>","Cc":"GNU C Library <libc-alpha@sourceware.org>, nd@arm.com","References":"<59C1123F.9080003@arm.com> <59C23691.8080100@arm.com>\n\t<CAMe9rOqCq0iThPW9e=j9fdf4bZzS6xEth2fC5Q-W6eLkkF78DA@mail.gmail.com>","From":"Arjan van de Ven <arjan@linux.intel.com>","Message-ID":"<a07a8a3c-f1af-e69e-5529-a5e3339cf111@linux.intel.com>","Date":"Sat, 23 Sep 2017 17:53:33 -0700","User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<CAMe9rOqCq0iThPW9e=j9fdf4bZzS6xEth2fC5Q-W6eLkkF78DA@mail.gmail.com>","Content-Type":"text/plain; charset=utf-8; format=flowed","Content-Transfer-Encoding":"7bit"}},{"id":1774096,"web_url":"http://patchwork.ozlabs.org/comment/1774096/","msgid":"<D6A1A7A3-A3DB-4C7C-93BA-F379145F6EC1@gmail.com>","list_archive_url":null,"date":"2017-09-24T01:02:38","subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","submitter":{"id":4387,"url":"http://patchwork.ozlabs.org/api/people/4387/","name":"H.J. Lu","email":"hjl.tools@gmail.com"},"content":"On September 24, 2017 8:53:33 AM GMT+08:00, Arjan van de Ven <arjan@linux.intel.com> wrote:\n>>>>\n>>>\n>>> now i added these to an nsz/math branch so others can test it.\n>>>\n>> \n>> I created hjl/nsz/math branch to replace x86-64 assembly versions of\n>> e_expf with generic\n>> e_expf.c.  I got\n>> \n>\n><snip results>\n>\n>all results are <= 1ulp\n>\n>> \n>> Test suite completed:\n>>    356 test cases plus 352 tests for exception flags and\n>>      352 tests for errno executed.\n>>    6 errors occurred.\n>> [hjl@gnu-efi-2 build-x86_64-linux]$\n>> \n>> Arjan, have you measured performance assembly versions of expf vs\n>generic expf?\n>> \n>\n>the generic expf is faster than the ASM version; the generic version\n>has an order 3 polyinomal\n>while the ASM version has an order 4.\n>In addition, the embedding of the errno stuff is a big deal (I already\n>had that for exp() in my\n>own project) since the exp[f]() code knows exactly when it's not needed\n>at all (the fast path)\n>\n>so we really should move x86-64 over to this generic version if the\n>1ulp is acceptable\n\nAgreed. I think 1 up is acceptable. I will prepare a patch\nto do that.\n\nH.J.","headers":{"Return-Path":"<libc-alpha-return-84895-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84895-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"Xn4f6IiL\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y088q1gzlz9t4P\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 11:03:06 +1000 (AEST)","(qmail 26864 invoked by alias); 24 Sep 2017 01:03:00 -0000","(qmail 26849 invoked by uid 89); 24 Sep 2017 01:02:59 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:in-reply-to:references:mime-version\n\t:content-type:content-transfer-encoding:subject:to:cc:from\n\t:message-id; q=dns; s=default; b=MO1OGQjmBoVbcg2tcKBZb18oFpABRxY\n\totTuPCFLjl5nfDwr+doaFQSVacXKDEDAO30Ykdwm2NwHN2LDRR4LbAaxibwDkVKh\n\tkpqrSWVyrmf7nGjUrFC1WrRjUI+h8SaUuSrDutwhOWcoxoi+FrIEPxLUUyLT6YmJ\n\tTJjBJgC/ZEB8=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:in-reply-to:references:mime-version\n\t:content-type:content-transfer-encoding:subject:to:cc:from\n\t:message-id; s=default; bh=58Ix2S6X5Qp/yFCoqJ0t+GDfrCE=; b=Xn4f6\n\tIiLBd4ram4SudKoPv6/I0mFH95L3liJ+qOyoWfA67MVgf6Uh4ZGFdtZISz8lDg3A\n\tIPj2CZ9vhGNAgBq/8OD8r4242mbhsokAHMnEz1NBWx3dqgVToDVmI6CSUKCTS4b7\n\tjnQ9GpE5wIececG2HcUT5tIKB7zQhJEK2aBf2A=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-1.4 required=5.0 tests=BAYES_00,\n\tFREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=no version=3.3.2\n\tspammy=Hx-spam-relays-external:sk:!100.90, H*RU:sk:!100.90,\n\tH*Ad:U*hjl.tools","X-HELO":"mail-it0-f47.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:user-agent:in-reply-to:references\n\t:mime-version:content-transfer-encoding:subject:to:cc:from\n\t:message-id;\n\tbh=ygAgTjHAye/5oyzWXTd9QqzdYeGsBmhmFEeI3z9TKZw=;\n\tb=sHO2SbxgSLYXyKT/Sdq7kUAwOBnyCPxWQ4LrTnOWpw2ITH7pJrh3P5599GjT5Ip1gJ\n\tN/Vh1zJ+VTe3Q0tBPIWu7mBz2UqQuO9B+FGbL08hk/ZjO490+O+I1QElbDHUGf1MkZ29\n\txUQxv/DUjIXT6i8zMQZ7eaOYzhZTxq2vGMpMKlzcyJcRrBpSWgAzePcmE297Pu130u6D\n\tBOlF5D1XsyoZ3AUQbXYeEaJlA/QBRz+osCZl4c/NwTKl6AYeRJy0pFqSFrsY4SKFWT/0\n\tmCeA6WmNhPq1UIMqq1hIXClagzhdJCOnvmOsjw8M5M09SEipVKJKwR0PMT9cXx0BDWeV\n\tSrDw==","X-Gm-Message-State":"AHPjjUgC3XDL0m7IrGm2/7KjEf1qgYEjqYjCsGT5ED2BQLxjkh/V57uE\n\twTlBes66s9xhWzdvlLGcYgo=","X-Google-Smtp-Source":"AOwi7QCSEQQ5HpJBgNMWzGIwTgZnCMcIweJyCTh1DqNA56SrtDPt416tWHEJrYdVDshMuPIhp0tcNA==","X-Received":"by 10.36.25.10 with SMTP id b10mr11740291itb.46.1506214974078;\n\tSat, 23 Sep 2017 18:02:54 -0700 (PDT)","Date":"Sun, 24 Sep 2017 09:02:38 +0800","User-Agent":"K-9 Mail for Android","In-Reply-To":"<a07a8a3c-f1af-e69e-5529-a5e3339cf111@linux.intel.com>","References":"<59C1123F.9080003@arm.com> <59C23691.8080100@arm.com>\n\t<CAMe9rOqCq0iThPW9e=j9fdf4bZzS6xEth2fC5Q-W6eLkkF78DA@mail.gmail.com>\n\t<a07a8a3c-f1af-e69e-5529-a5e3339cf111@linux.intel.com>","MIME-Version":"1.0","Content-Type":"text/plain;\n charset=utf-8","Content-Transfer-Encoding":"quoted-printable","Subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","To":"Arjan van de Ven <arjan@linux.intel.com>,\n\tSzabolcs Nagy <szabolcs.nagy@arm.com>","CC":"GNU C Library <libc-alpha@sourceware.org>,nd@arm.com","From":"\"H.J. Lu\" <hjl.tools@gmail.com>","Message-ID":"<D6A1A7A3-A3DB-4C7C-93BA-F379145F6EC1@gmail.com>"}},{"id":1774121,"web_url":"http://patchwork.ozlabs.org/comment/1774121/","msgid":"<CAMe9rOrFeVnN8B7eiOwx9MVO7zrmBQfs0HJq8aZWdbTWOdm9fg@mail.gmail.com>","list_archive_url":null,"date":"2017-09-24T09:43:58","subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","submitter":{"id":4387,"url":"http://patchwork.ozlabs.org/api/people/4387/","name":"H.J. Lu","email":"hjl.tools@gmail.com"},"content":"On 9/23/17, H.J. Lu <hjl.tools@gmail.com> wrote:\n>\n>\n> On September 24, 2017 8:53:33 AM GMT+08:00, Arjan van de Ven\n> <arjan@linux.intel.com> wrote:\n>>>>>\n>>>>\n>>>> now i added these to an nsz/math branch so others can test it.\n>>>>\n>>>\n>>> I created hjl/nsz/math branch to replace x86-64 assembly versions of\n>>> e_expf with generic\n>>> e_expf.c.  I got\n>>>\n>>\n>><snip results>\n>>\n>>all results are <= 1ulp\n>>\n>>>\n>>> Test suite completed:\n>>>    356 test cases plus 352 tests for exception flags and\n>>>      352 tests for errno executed.\n>>>    6 errors occurred.\n>>> [hjl@gnu-efi-2 build-x86_64-linux]$\n>>>\n>>> Arjan, have you measured performance assembly versions of expf vs\n>>generic expf?\n>>>\n>>\n>>the generic expf is faster than the ASM version; the generic version\n>>has an order 3 polyinomal\n>>while the ASM version has an order 4.\n>>In addition, the embedding of the errno stuff is a big deal (I already\n>>had that for exp() in my\n>>own project) since the exp[f]() code knows exactly when it's not needed\n>>at all (the fast path)\n>>\n>>so we really should move x86-64 over to this generic version if the\n>>1ulp is acceptable\n>\n> Agreed. I think 1 up is acceptable. I will prepare a patch\n> to do that.\n>\n\nHere is the patch on hjl/nsz/math branch with updated\nsysdeps/x86_64/fpu/libm-test-ulps.","headers":{"Return-Path":"<libc-alpha-return-84896-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84896-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"svaYz5eh\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y0Mk632BKz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 19:44:13 +1000 (AEST)","(qmail 28781 invoked by alias); 24 Sep 2017 09:44:05 -0000","(qmail 28764 invoked by uid 89); 24 Sep 2017 09:44:04 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-type; q=dns; s=default; b=oAul\n\tn4QqKZGFJ0njVFe2XgHdJ2J1iDauN1vmxT/3lkZ5QMUFEuog3n4yzRvudA+VSrd9\n\tLc2JANTjN3qYy7DVzCDaDBYSubJm3A/3+n2tQ2TCmGi+6esno+m+0UDBhNmYi7MA\n\tjljRnC/pE3LS2Vgr8cJbv5rJhL78airbnLKjdUM=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-type; s=default; bh=pTY7ZuIDM7\n\tmrVWj9P8pgzg+vPW8=; b=svaYz5ehZH/KHBSY5aTAA+EBMidA7tzPnUZ9/XYMxS\n\tZ35MDSZOD9TXPgQch6bVTnFhr6asbGDAzuYBEhUE420FbMNuhcbdbW63KmiBn8vv\n\toTY76TpoKwJU6qcjDUJAv2+7Kle+cDjGJjkpdz6VMZh1AAhJYx9elzMMxgRLhiA4\n\t4=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-24.9 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2,\n\tGIT_PATCH_3, KAM_STOCKGEN, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-oi0-f67.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=oncA9HMxIkikA3CyAPBhlx19kr0jwO/UsLZml7zjQ+g=;\n\tb=qEEmm7P46D3pT/rWuGsyku7Cd9CVHUFilUiDMvCModWBCqIlKxalY+b5XbM4WNUWsQ\n\tnAiJG/bUIo6yw70ogJR6ahqhX9ro9QGcLW+fB2DzLlundqdBHtG2d89m9m2TwHl/2Imf\n\trXvvjO8J28Rh3XRFYg8250XjiPICSkMAz5our3zYUTR42uV7SkZLa3qTRPRy7siLwjD+\n\tZ1s2pFUXdCekBujojQOCEb5Gbt8j7nw4w4LYD2pimTRCoM9TYUmzxSrYc9/eBJqlyY4f\n\tjquP1ClKzUZyb6l2TO+ghuUUiliq16v0dA2jHIBOb3VkwFeGaoc4olHjDKQS1tXiGklU\n\tAfFg==","X-Gm-Message-State":"AHPjjUgmhR0dsl8cl0/FDjnndel/xlCkO9kVzx1JVS3OeV7giSs2J4iO\n\t86dcmGqKNR7hEiCBGo760U6u5E5vqi3EoWweQ5A=","X-Google-Smtp-Source":"AOwi7QDgj8YbgzEhedyBu+tq7Ejl77Smir8YyqSaPhQW3RQH7r/GLj2xcCBk/JIMoKsZpJse7o1MRhK+GWxc0JlWsLQ=","X-Received":"by 10.202.59.212 with SMTP id i203mr2956504oia.103.1506246239327;\n\tSun, 24 Sep 2017 02:43:59 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<D6A1A7A3-A3DB-4C7C-93BA-F379145F6EC1@gmail.com>","References":"<59C1123F.9080003@arm.com> <59C23691.8080100@arm.com>\n\t<CAMe9rOqCq0iThPW9e=j9fdf4bZzS6xEth2fC5Q-W6eLkkF78DA@mail.gmail.com>\n\t<a07a8a3c-f1af-e69e-5529-a5e3339cf111@linux.intel.com>\n\t<D6A1A7A3-A3DB-4C7C-93BA-F379145F6EC1@gmail.com>","From":"\"H.J. Lu\" <hjl.tools@gmail.com>","Date":"Sun, 24 Sep 2017 02:43:58 -0700","Message-ID":"<CAMe9rOrFeVnN8B7eiOwx9MVO7zrmBQfs0HJq8aZWdbTWOdm9fg@mail.gmail.com>","Subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","To":"Arjan van de Ven <arjan@linux.intel.com>,\n\tSzabolcs Nagy <szabolcs.nagy@arm.com>","Cc":"GNU C Library <libc-alpha@sourceware.org>, nd@arm.com","Content-Type":"multipart/mixed; boundary=\"001a113ccd8e0a41570559ec48f6\""}},{"id":1774319,"web_url":"http://patchwork.ozlabs.org/comment/1774319/","msgid":"<CAMe9rOoX7cVU9JuoJ3S5xoHeFsZ2fcJxjRMyG=LpiTXWYF-DMw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-24T23:12:45","subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","submitter":{"id":4387,"url":"http://patchwork.ozlabs.org/api/people/4387/","name":"H.J. Lu","email":"hjl.tools@gmail.com"},"content":"On 9/24/17, H.J. Lu <hjl.tools@gmail.com> wrote:\n> On 9/23/17, H.J. Lu <hjl.tools@gmail.com> wrote:\n>>\n>>\n>> On September 24, 2017 8:53:33 AM GMT+08:00, Arjan van de Ven\n>> <arjan@linux.intel.com> wrote:\n>>>>>>\n>>>>>\n>>>>> now i added these to an nsz/math branch so others can test it.\n>>>>>\n>>>>\n>>>> I created hjl/nsz/math branch to replace x86-64 assembly versions of\n>>>> e_expf with generic\n>>>> e_expf.c.  I got\n>>>>\n>>>\n>>><snip results>\n>>>\n>>>all results are <= 1ulp\n>>>\n>>>>\n>>>> Test suite completed:\n>>>>    356 test cases plus 352 tests for exception flags and\n>>>>      352 tests for errno executed.\n>>>>    6 errors occurred.\n>>>> [hjl@gnu-efi-2 build-x86_64-linux]$\n>>>>\n>>>> Arjan, have you measured performance assembly versions of expf vs\n>>>generic expf?\n>>>>\n>>>\n>>>the generic expf is faster than the ASM version; the generic version\n>>>has an order 3 polyinomal\n>>>while the ASM version has an order 4.\n>>>In addition, the embedding of the errno stuff is a big deal (I already\n>>>had that for exp() in my\n>>>own project) since the exp[f]() code knows exactly when it's not needed\n>>>at all (the fast path)\n>>>\n>>>so we really should move x86-64 over to this generic version if the\n>>>1ulp is acceptable\n>>\n>> Agreed. I think 1 up is acceptable. I will prepare a patch\n>> to do that.\n>>\n>\n> Here is the patch on hjl/nsz/math branch with updated\n> sysdeps/x86_64/fpu/libm-test-ulps.\n>\n\nHi Andrew,\n\nHere is a similar patch for i386 n hjl/nsz/math branch with updated\ni386 libm-test-ulps.\nCan you verify its performance on i686?\n\nThanks.","headers":{"Return-Path":"<libc-alpha-return-84901-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84901-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"xR5QLZm+\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y0jgH3slWz9t30\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 09:12:59 +1000 (AEST)","(qmail 22975 invoked by alias); 24 Sep 2017 23:12:52 -0000","(qmail 22960 invoked by uid 89); 24 Sep 2017 23:12:52 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-type; q=dns; s=default; b=wYc/\n\t5Qr+S2eNJHxGaU4c3Blqpm3Ta78ifZspL5VycPLk+CsH81U+bCdSQRUh3A2WEp8q\n\t8sgBX40sckhhH0FmteteBr+snp2cDD6/W2ucF46KITC8MMmhBg2yXfgQgDbaVGV1\n\t4K5YGCWzEKb6zLrmsZPMFw/IPzJW3xcoDRMtmNs=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc:content-type; s=default; bh=AMKVN8GQeZ\n\tAkme2SQ7E7gA5Ernk=; b=xR5QLZm+4jokJBKeQjKC3kT22fz2fZCZMFYJhhBsxF\n\tU5C27bbYSo1Q6UmKdavTSxP5+JQ95rRQg9hECTlPH3gYBBz7gJPux/ojKVA/Ko+6\n\tLqIsg30CwV++CsvE0e4z7XfljA+es0vTNk0kI9EYoBhiTntcjTIHWeBgGpcho5J/\n\to=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-24.9 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2,\n\tGIT_PATCH_3, KAM_STOCKGEN, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-oi0-f46.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=eUvPd6ndAzzrAXbbrOSegeVrhF4HVXbatt8k6xc0VCM=;\n\tb=cipBOLiKCUktnEnvf7MAtzl1ROIIYU3jIvoijsm3yN4TJ4BMwjCzrt16id61I71oxk\n\tvERQOVnpTX1ws3e0XuYBACMEGRo7H6gQlUCCycfeH4rCVtIDg3NMPzOdQ3paAWligGL0\n\tkKJJoShSz16hJT3TMwin6h1vPrCcBoZ8FTB6G7bfRMlBf7k5w6qfzof1lxHOyXt724hq\n\tFwp5z4tHAt8IbWMGGBb9r99vYJTqOKWlS8qhB/v7kglQmyyj2AF14bJqc/NVKcGOs/2/\n\t9vw8ot+HrWCw63fBJe/63kNMrcLqeedl3PjD6EttgTorVTwEMMcjljKxOuLPN/30IYVW\n\tf5Vg==","X-Gm-Message-State":"AHPjjUiuJb9mJJgE6dBlLsTtztXvSgo7DQ6pWh6d05IUDPCOXg4QUUGG\n\tB415RcLCu+0YBU/YnWxJ3IGp3ulom/7R9+f6ENI=","X-Google-Smtp-Source":"AOwi7QBzpDA/HVcsnstY1a/TFmr6vVlW5zApy887ojgNNZfAPmCf2Jw+5qp/9F6D5P6dJ/b3ESegyfIEUvxjgbVOK1s=","X-Received":"by 10.202.48.83 with SMTP id w80mr7112152oiw.97.1506294766697;\n\tSun, 24 Sep 2017 16:12:46 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<CAMe9rOrFeVnN8B7eiOwx9MVO7zrmBQfs0HJq8aZWdbTWOdm9fg@mail.gmail.com>","References":"<59C1123F.9080003@arm.com> <59C23691.8080100@arm.com>\n\t<CAMe9rOqCq0iThPW9e=j9fdf4bZzS6xEth2fC5Q-W6eLkkF78DA@mail.gmail.com>\n\t<a07a8a3c-f1af-e69e-5529-a5e3339cf111@linux.intel.com>\n\t<D6A1A7A3-A3DB-4C7C-93BA-F379145F6EC1@gmail.com>\n\t<CAMe9rOrFeVnN8B7eiOwx9MVO7zrmBQfs0HJq8aZWdbTWOdm9fg@mail.gmail.com>","From":"\"H.J. Lu\" <hjl.tools@gmail.com>","Date":"Sun, 24 Sep 2017 16:12:45 -0700","Message-ID":"<CAMe9rOoX7cVU9JuoJ3S5xoHeFsZ2fcJxjRMyG=LpiTXWYF-DMw@mail.gmail.com>","Subject":"Re: [PATCH 0/9] Optimized expf, exp2f, logf, log2f and powf","To":"Arjan van de Ven <arjan@linux.intel.com>,\n\tSzabolcs Nagy <szabolcs.nagy@arm.com>","Cc":"GNU C Library <libc-alpha@sourceware.org>, nd@arm.com, \n\tAndrew Senkevich <andrew.senkevich@intel.com>","Content-Type":"multipart/mixed; boundary=\"001a113cd0f47f359a0559f79484\""}}]