From owner-freebsd-sparc64@FreeBSD.ORG Thu Dec 23 14:45:44 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E314316A4CE for ; Thu, 23 Dec 2004 14:45:44 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EE5D43D1F for ; Thu, 23 Dec 2004 14:45:44 +0000 (GMT) (envelope-from stephen.paskaluk@gmail.com) Received: by rproxy.gmail.com with SMTP id y7so160727rne for ; Thu, 23 Dec 2004 06:45:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ICXN5O7wP8+X0u7dOrc7WQzetVSM/yPyh8U5kD2K1e4hBLKNgOC7ctHeBlXnIsAePGKqq1eFN80gFoU04e12QBZt7j7ZQecHrEeiFnru7LKabtgsIvUWa7hlzkHdeEcyISNC8BJAt+jdZ+kp3Wp09ifzxAf6OwSeuK6/5S+n9tE= Received: by 10.38.92.63 with SMTP id p63mr18273rnb; Thu, 23 Dec 2004 06:45:43 -0800 (PST) Received: by 10.38.126.41 with HTTP; Thu, 23 Dec 2004 06:45:43 -0800 (PST) Message-ID: Date: Thu, 23 Dec 2004 07:45:43 -0700 From: Stephen Paskaluk To: "R. Tyler Ballance" In-Reply-To: <1103799791.7216.35.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1103799791.7216.35.camel@localhost.localdomain> cc: freebsd-sparc64@freebsd.org Subject: Re: Possible long double bug fix (Problem Report sparc64/55773) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Stephen Paskaluk List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 14:45:45 -0000 On Thu, 23 Dec 2004 05:03:11 -0600, R. Tyler Ballance wrote: > sap@ (of the MirOS project) has come up with a patch to fix this bug, > which in my rudimentary testing on my Ultra2 seems to prove that it > works. > The .diff file can be found here: > http://dero.tamu.edu/~tyler/code/freebsd/fpu_qp.diff It's based partly on the OpenBSD version of the same code. As a general thought on the sparc64 fpu code, I don't see why there's a need for the _QP_TTOQ macro at all, it only saves manually writing a handful of functions. It's true that you don't have to change each function in the event of a change to the overall routine, but I don't think that's much of an issue with this code. -- Stephen Paskaluk