From owner-freebsd-arch@FreeBSD.ORG Tue Nov 9 15:48:16 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C741106566B; Tue, 9 Nov 2010 15:48:16 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 385448FC25; Tue, 9 Nov 2010 15:48:16 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id oA9FmDmb065096; Tue, 9 Nov 2010 07:48:13 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id oA9FmDsq065095; Tue, 9 Nov 2010 07:48:13 -0800 (PST) (envelope-from sgk) Date: Tue, 9 Nov 2010 07:48:13 -0800 From: Steve Kargl To: Alexander Best Message-ID: <20101109154813.GA64438@troutmask.apl.washington.edu> References: <20101107141804.GN85693@acme.spoerlein.net> <86eiaw0wsf.fsf@ds4.des.no> <20101109132338.GA70099@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101109132338.GA70099@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: Dag-Erling Sm?rgrav , arch@freebsd.org Subject: Re: Moving flex and yacc to contrib/, all hell breaks loose? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 15:48:16 -0000 On Tue, Nov 09, 2010 at 01:23:38PM +0000, Alexander Best wrote: > On Mon Nov 8 10, Dag-Erling Sm?rgrav wrote: > > Ulrich Sp?rlein writes: > > > To my knowledge, the only "vendor" software in our tree, not yet living > > > under cddl/, contrib/, crypto/ or gnu/ are > > > > > > lib/libc/softfloat > > > lib/libz > > > lib/msun > > > usr.bin/lex > > > usr.bin/unifdef > > > usr.bin/yacc > > > > I have no opinion on the others, but AFAIK, msun is a mix of unmodified > > third-party code, locally modified third-party code and locally > > developed code (which is how my name ended up in the Android credits), > > and I'm not sure there still is a third-party maintainer for our version > > of msun. > > i talked to david hough who is working for oracle. he said that oracle has no > business interest in libmsun at all! the mailinglist fdlibm-comments@sun.com > will be shut down and every issues etc. with libmsun shall now be discussed > here: > > http://mailman.oakapple.net/mailman/listinfo/numeric-interest > > this message contains a brief statement by oracle [1]. > > so it seems lib/msun can be moved to the list of third party software with > ceased upstream development. > > cheers. > alex Interesting mailing! I particularly like http://mailman.oakapple.net/pipermail/numeric-interest/2010-September/002057.html which loops back to http://www.freebsd.org/cgi/query-pr.cgi?pr=144306 which is still open some 9 months later. Here's an updated diff that also fixes jnf(). Watch for cut-n-paste corruption of whitespace. -- steve troutmask:root[217] svn diff src/e_jn*c Index: src/e_jn.c =================================================================== --- src/e_jn.c (revision 213691) +++ src/e_jn.c (working copy) @@ -200,7 +200,12 @@ } } } - b = (t*__ieee754_j0(x)/b); + z = __ieee754_j0(x); + w = __ieee754_j1(x); + if (fabs(z) >= fabs(w)) + b = (t*z/b); + else + b = (t*w/a); } } if(sgn==1) return -b; else return b; Index: src/e_jnf.c =================================================================== --- src/e_jnf.c (revision 213691) +++ src/e_jnf.c (working copy) @@ -152,7 +152,12 @@ } } } - b = (t*__ieee754_j0f(x)/b); + z = __ieee754_j0f(x); + w = __ieee754_j1f(x); + if (fabs(z) >= fabs(w)) + b = (t*z/b); + else + b = (t*w/a); } } if(sgn==1) return -b; else return b; -- Steve