From owner-freebsd-numerics@FreeBSD.ORG Sun Nov 10 10:05:31 2013 Return-Path: Delivered-To: freebsd-numerics@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 83EF16DE; Sun, 10 Nov 2013 10:05:31 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 520D42127; Sun, 10 Nov 2013 10:05:30 +0000 (UTC) Received: from [192.168.0.2] (cpc27-cmbg15-2-0-cust235.5-4.cable.virginm.net [86.27.188.236]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id rAAA5Ldn096911 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 10 Nov 2013 10:05:22 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: MUSL math functions From: David Chisnall In-Reply-To: <20131108085039.GA1821@zim.MIT.EDU> Date: Sun, 10 Nov 2013 10:05:18 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <15792BD0-C47C-4DCA-A112-D3C54F211E67@FreeBSD.org> References: <20131031133352.GA59918@troutmask.apl.washington.edu> <20131101072032.P1002@besplex.bde.org> <20131108085039.GA1821@zim.MIT.EDU> To: David Schultz X-Mailer: Apple Mail (2.1508) Cc: "freebsd-numerics@FreeBSD.org" , Steve Kargl , Bruce Evans X-BeenThere: freebsd-numerics@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of high quality implementation of libm functions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 10:05:31 -0000 On 8 Nov 2013, at 08:50, David Schultz wrote: > However, several things have happened since then. For one, years > have passed and there's still quite a bit of work to do. For two, > the only ld128 platform, sparc64, doesn't look as important as it > used to be. For a long time, we had trouble even finding a viable > test machine. Therefore, I think any incremental improvement would > be welcome -- even if it means doing ld80 only. The PowerPC SysV ABI says that it's ld128 - we only use 64 bit because = of lack of compiler support when the architecture was brought up, every = other OS uses 128 bit (although I think PPC 128-bit floats are not quite = the same as IEEE 128-bit floats, which may cause some problems). It's = quite likely that we'll change it to ld128 at some point, although that = will involve some ABI breakage which is unfortunate. =20 ARMv8 is ld128 and, although it support hasn't landed yet (it's under = development), it is likely to be a very important platform for FreeBSD = in coming years. MIPS is also ld128 on most systems, but the fact that there is no = 128-bit floating point hardware for MIPS (except in one ASE, where there = is one 128-bit floating point accumulator register) makes this quite a = silly choice, so it will probably stay ld64. David