From owner-freebsd-standards@FreeBSD.ORG Mon Dec 10 05:29:50 2007 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7340516A41A; Mon, 10 Dec 2007 05:29:50 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [211.29.132.186]) by mx1.freebsd.org (Postfix) with ESMTP id E9A1213C447; Mon, 10 Dec 2007 05:29:49 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c211-30-219-213.carlnfd3.nsw.optusnet.com.au (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail05.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id lBA5TjlP011340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Dec 2007 16:29:47 +1100 Date: Mon, 10 Dec 2007 16:29:45 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: David Schultz In-Reply-To: <20071209214927.GB9698@VARK.MIT.EDU> Message-ID: <20071210162247.O3964@delplex.bde.org> References: <20071012180959.GA36345@troutmask.apl.washington.edu> <20071206090833.GA95428@VARK.MIT.EDU> <20071206231143.GA63969@troutmask.apl.washington.edu> <20071207173222.D702@delplex.bde.org> <20071209214927.GB9698@VARK.MIT.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-standards@FreeBSD.org, Steve Kargl Subject: Re: [PATCH] hypotl, cabsl, and code removal in cabs X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 05:29:50 -0000 On Sun, 9 Dec 2007, David Schultz wrote: > On Fri, Dec 07, 2007, Bruce Evans wrote: > [...] >> Anyway, the software version of sqrtl is irrelevant on >> athlon-xp, since athlon-xp has sqrtl in hardware (takes 35 cycles). >> Similarly for amd64, ia64 and possibly sparc64 (sparc64 has sqrt in >> hardware so it hopefully has sqrtl in hardware). arm and powerpc >> apparently have long double == double, so the software version of sqrtl >> is apparently only needed on ia64. > > In general, even if we don't use it on any architectures that > FreeBSD currently supports, I'd like to have a working MI > implementation checked in before we add a bunch of MD > versions. Otherwise we risk overburdening people trying to port > FreeBSD to new architectures. Having an MI version makes > cross-testing easier, too. I agree. I could write amd64 and i386 versions in asm the most important functions in about 5 minutes each, but have refrained from doing so since I think this would get in the way of general support. > For ia64, we can use Intel's BSD-licensed math lib. Sure. I use it a hacked up version of the glibc version of it locally as a gold standard, but don't want to maintain it. Is is fully BSD-licensed? Bruce