From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12212 Path: news.gmane.org!.POSTED!not-for-mail From: ardi Newsgroups: gmane.linux.lib.musl.general Subject: Re: Feasability of patching libm with OS X 10.5.8 libc for IBM double-double in PPC Date: Wed, 6 Dec 2017 20:33:54 +0100 Message-ID: References: <20171206175333.GC15263@port70.net> 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 1512588847 15567 195.159.176.226 (6 Dec 2017 19:34:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2017 19:34:07 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12228-gllmg-musl=m.gmane.org@lists.openwall.com Wed Dec 06 20:34:04 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 1eMfSF-0003x0-DV for gllmg-musl@m.gmane.org; Wed, 06 Dec 2017 20:34:03 +0100 Original-Received: (qmail 7369 invoked by uid 550); 6 Dec 2017 19:34:08 -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 7349 invoked from network); 6 Dec 2017 19:34:07 -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=6aKfoQnI1/ff1taKHc+B6p8HkMSX2+mgOJEl+Fi2RyE=; b=b0702+vwtmYVooBxzw7yVg8w1ByMnTQInyOf+88VWdEPT/WuuTPu4v8Q6IH4Pr8Ajd nZWiU2xVx7rJWADFz9n9IoLWraMdikewouCWUC8kr2gCdlc7LdZvS9D6Ot8arr+b639W EWpBbetRMmab9b4m2zF1iFoQ9S5ixOjyDt+Zlyrzg/wG346e6FI0T9jfHDsK0GbpSA34 vPmpT0JAorWLbRyHAubAxkSpt9pQrgo5kb8mcfmNpxEaipEfWavOFbyajelN8jhm1aql RH61IEkJDsnaLJ/LY2iov4tPMc/sNEFhIUpwp9iF7lxigAjbhmXYlOBoIEw+WIf2hlMv j4vw== 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=6aKfoQnI1/ff1taKHc+B6p8HkMSX2+mgOJEl+Fi2RyE=; b=JBZJlnNJ4bg9plVje3UbmXpAYSNoUl6Gwa2n++cIQ8RSGu42GaT0qx8QkP7KEEpnKo 72wvmbsz/fLFYQYa3KsXNTqiyZpAsa54eZ2+rdPUJ1q1TAPMGehi6Xz84B39qFwPXglE /JhhPdckiRA6W/WNvWB55NI8i0fesVbdgybEo4VPKpI7XZP9i2sPZGthXW6oudPyJl0s Uq3GbqXlYao4AFruiJ+kbLHKUOJK18FQkZUPDSBZA1RJNROHGKP8gPOSTH7WMJGBLI2D Kz6FQg1s9sj4rcuVCjZXW3fwDDRmd84hOTtbdnprvVfv0odAeNfTIyqDV3UmUSNbONyf 6nMw== X-Gm-Message-State: AKGB3mILpfS5tnAmmjXAZsjZTD7OADbL+I3+yL+dnYowY2RzHf9572v7 A/8BQHmmEVeLGZfANue7QsK1EQzGd/KNHrlJEew= X-Google-Smtp-Source: AGs4zMYwk1F9tm3hJU4Npb3H9io5CGRci1NnqzrJcijjQ8LBwbwU3sT3o2DZ4PqiLtDSVJ3vCBPzTsFOOKF2DCnLb/s= X-Received: by 10.98.19.92 with SMTP id b89mr4009901pfj.124.1512588835396; Wed, 06 Dec 2017 11:33:55 -0800 (PST) In-Reply-To: <20171206175333.GC15263@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:12212 Archived-At: On Wed, Dec 6, 2017 at 6:53 PM, Szabolcs Nagy wrote: > * ardi [2017-12-06 18:23:33 +0100]: >> Said this, I need IBM double-double in PowerPC targets (using clang as >> compiler), and I'd like to use musl because of its well written code. > > is this because of some abi compat issue? > or some source code depends on double-double semantics? It's because I have code that was very well tuned for double-double precision. Of course I'd be happy to be able to work with an IEEE 128bit long double, and I'd use it from the first day if the LLVM compiler team implements it with hardware optimizations for PPC64, but I'd like to have the choice of using double-double if I need to check or compare at some point. >From the comments by Rich, I think maybe it's not hard to get it working. If I find I can get it by patching a few files (maybe conditionally using the code for FP to/from string conversions in Apple libc in my custom musl build), then I'll do it. OTOH, if it requires a lot of editing, I won't doing it, because I want to have an easy procedure for updating musl to newer versions. If I have to apply a huge patchset whenever I update, it wouldn't be reasonable. Thanks!