From owner-freebsd-standards Mon Feb 17 20: 1: 1 2003 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48AC537B401 for ; Mon, 17 Feb 2003 20:01:00 -0800 (PST) Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBA9043F93 for ; Mon, 17 Feb 2003 20:00:59 -0800 (PST) (envelope-from mike@espresso.bsdmike.org) Received: by espresso.bsdmike.org (Postfix, from userid 1002) id 5F8539BC3; Mon, 17 Feb 2003 22:48:40 -0500 (EST) Date: Mon, 17 Feb 2003 22:48:40 -0500 From: Mike Barcroft To: Dag-Erling Smorgrav Cc: Kris Kennaway , standards@freebsd.org Subject: Re: -fno-builtin world breaks in gperf Message-ID: <20030217224840.L74149@espresso.bsdmike.org> References: <20030217213405.GB71679@rot13.obsecurity.org> <20030217193655.I74149@espresso.bsdmike.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030217193655.I74149@espresso.bsdmike.org>; from mike@FreeBSD.org on Mon, Feb 17, 2003 at 07:36:55PM -0500 Organization: The FreeBSD Project Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Barcroft writes: > Dag-Erling Smorgrav writes: > > Kris Kennaway writes: > > > On Mon, Feb 17, 2003 at 03:46:15PM +0100, Dag-Erling Smorgrav wrote: > > > > Our libm doesn't seem to support long double at all, yet our libstdc++ > > > > requires long double support. > > > I pointed this out a while ago..looks like no-one did anything about > > > it yet. > > > > I've looked at it, and it looks Hard[tm]. The four architectures I > > tested (alpha, ia32, ia64, sparc64) had four different representations > > for long double: > [...] > > You might want to take a look at the fpclassify() implementation. It > doesn't look like your findings are correct. Specifically, see the > bitfield layouts in _fpmath.h. > > IIRC, long doubles are as follows: [...] > - ia64 IEEE quad (128-bit) format Oops, this is actually just a double-extended 80-bit, but aligned to 16-bytes. I'm in the progress of testing a fix for _fpmath.h. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message