From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11339 Path: news.gmane.org!.POSTED!not-for-mail From: David Edelsohn Newsgroups: gmane.linux.lib.musl.general Subject: Re: Musl libm optimizations for Power and Z Date: Wed, 17 May 2017 13:05:31 -0400 Message-ID: References: <20170517142616.GG9350@port70.net> <20170517163342.GI17319@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1495040746 8508 195.159.176.226 (17 May 2017 17:05:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 May 2017 17:05:46 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11354-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 17 19:05:42 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dB2OL-00028d-S5 for gllmg-musl@m.gmane.org; Wed, 17 May 2017 19:05:41 +0200 Original-Received: (qmail 18104 invoked by uid 550); 17 May 2017 17:05:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18086 invoked from network); 17 May 2017 17:05:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=4KdbsVQSsiqydQdful+/7A05bXw/MjZ04+7LTYEO3EY=; b=cD2lhxcAuiUg+YuTjh5oRjYIUq3q/orJHvyj4wn3JBCFJ0zQJRV4HDH04oGJdXJy4E rACNnqXi3YEGE7t7UcwnSjFJsphyA2WI8NBvNMcQsH7nfvC6JmyvUjPv0H9bGavg81yQ 1LwbjZQRgutcD+akhU29oUN2fEFm/ndD51B1QD1eSqBcCen0RealsGCV+Qqwfy+q5Z42 0Bp59f+QnCe1SkSJTZkNKkSDcbnpeDptdHqOgdYe6powKY4e38Cv4vfa+UygNVNBhAv9 8y9vG0qXMr79NiT39CCGVrr1Rp413m1OE3YBzRfhrnuB9OM/atvl+4N94KuaOrWPErp5 nrJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=4KdbsVQSsiqydQdful+/7A05bXw/MjZ04+7LTYEO3EY=; b=eHVv/bn81D8PCTwU6tJ3n67D4TPs13ioDiQH9ddt8C1wlEoyAroDKCFF0lx4ygu0NE zHLj858coOR0YjAiweNfENcBcPd9IHYZHjx5mBnrRwBrJ5YtQ9p7WxrD6i/fKVlbvQKj lpm8DxfMRctIfRB5cQFjbPtApGJTp7vMYI3ql4oam+geXXg8ypbG7A50qPJSEDIg/f/7 u6SeNHQWXbpl+LYIrRkE5KXC8b1svxhNswTahIyQlTNN7RdxbkLY07R/ECzfucr18Ddb egBMNEaQQtAAc+R7JIiU1nCvOoEf6fiC5iezM70rMm7mNnfc3nHN327LcHA8LZ0NpTHl KHYQ== X-Gm-Message-State: AODbwcAa6fEn51obFZ1ubeJ/9ijekFKQDsqQTsTYUk7u3qdqmWuXXMZ4 v0mKkcGvivtd2IvUuYGPQLz7cIkEfg== X-Received: by 10.55.105.133 with SMTP id e127mr3619456qkc.19.1495040733463; Wed, 17 May 2017 10:05:33 -0700 (PDT) In-Reply-To: <20170517163342.GI17319@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:11339 Archived-At: On Wed, May 17, 2017 at 12:33 PM, Rich Felker wrote: > On Wed, May 17, 2017 at 10:52:05AM -0400, David Edelsohn wrote: >> On Wed, May 17, 2017 at 10:26 AM, Szabolcs Nagy wrote: >> > * David Edelsohn [2017-05-17 09:49:22 -0400]: >> >> Are there any musl developers who would be interested to work on musl >> >> libm optimizations for Power and Z as financial bounties? >> > >> > i hope it is something upstreamable >> > (i'm interested in libm optimizations, but cant work for bounties) >> >> I'm not certain what you mean. We want musl libm to include >> optimizations for Power and Z in the musl repository and releases. > > Upstreamability could include 2 things: both your/contributor's > willingness to submit the code upstream, and appropriateness of it for > inclusion. > > In general we avoid having per-arch math code that's more than simple > fpu instruction wrappers -- math/i386/*.s is about the upper bound on > what I have in mind, as opposed to something like using an entirely > different C algorithm that just happens to be faster on the arch or > that only tangentially uses arch-specific insns. And more importantly, > arch-specific math asm should not be sacrificing correctness/quality > of results for performance or other considerations. The Power and Z ports deserve the same math instruction optimizations as x86 and ARM. Thanks, David