Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2012 10:40:21 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Use of C99 extra long double math functions after r236148
Message-ID:  <777FA576-7DBA-43B1-817A-0BB7CCF232E9@bsdimp.com>
In-Reply-To: <20120711005506.GA88249@server.rulingia.com>
References:  <20120529045612.GB4445@server.rulingia.com> <20120708124047.GA44061@zim.MIT.EDU> <210816F0-7ED7-4481-ABFF-C94A700A3EA0@bsdimp.com> <20120708233624.GA53462@troutmask.apl.washington.edu> <4FFBF16D.2030007@gwdg.de> <2A1DE516-ABB4-49D7-8C3D-2C4DA2D9FCF5@bsdimp.com> <4FFC412B.4090202@gwdg.de> <20120710151115.GA56950@zim.MIT.EDU> <4FFC5E5D.8000502@gwdg.de> <20120710225801.GB58778@zim.MIT.EDU> <20120711005506.GA88249@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Just to jump back into the fray a bit, since this point hasn't been articulated well.

On Jul 10, 2012, at 6:55 PM, Peter Jeremy wrote:

> On 2012-Jul-08 19:01:07 -0700, Steve Kargl <sgk@troutmask.apl.washington.edu> wrote:
>> Well, on the most popular hardware (that being i386/amd64),
>> ld80 will use hardware fp instruction while ld128 must be
>> done completely in software.  The speed difference is
>> significant.
> 
> AFAIK, of the architectures that FreeBSD supports, only sparc64
> defines ld128 in the architecture and I don't believe there are any
> SPARC chip implementations that implement ld128 math in hardware.

We shouldn't be gating the new math on an issue that only affects sparc64 machines.  If they have ld80 level of support for that architecture, then that is sufficient to get things into the tree.  There's no real benefit from making numerics good on sparc64 for the project, since our support for the platform isn't stellar and the platform itself is getting a bit long in the tooth.

That said, if people want to do it, be my guest.  If it is important enough to catch someone's attention, then it is important enough to have.  It just isn't important enough to be a gating factor if nobody has signed up for it yet.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?777FA576-7DBA-43B1-817A-0BB7CCF232E9>