From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58137 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsZFz-0003sA-RI for qemu-devel@nongnu.org; Thu, 24 Feb 2011 06:21:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsZFy-0003Lc-Ki for qemu-devel@nongnu.org; Thu, 24 Feb 2011 06:21:15 -0500 Received: from mail-qy0-f173.google.com ([209.85.216.173]:61007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsZFy-0003LK-IS for qemu-devel@nongnu.org; Thu, 24 Feb 2011 06:21:14 -0500 Received: by qyk36 with SMTP id 36so4475696qyk.4 for ; Thu, 24 Feb 2011 03:21:13 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4D663CAA.3060906@redhat.com> References: <20110223190456.GD6703@hall.aurel32.net> <4D663CAA.3060906@redhat.com> Date: Thu, 24 Feb 2011 12:21:13 +0100 Message-ID: From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: QEMU regression problems - Update FPU List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , Roy Tam , seabios@seabios.org, qemu-devel@nongnu.org, Kevin O'Connor , Gerhard Wiesinger , Aurelien Jarno On Thu, Feb 24, 2011 at 12:10 PM, Paolo Bonzini wrote= : > On 02/23/2011 08:04 PM, Aurelien Jarno wrote: >> >> Actually that's the reason why i386 doesn't use softfloat, as all the >> trigonometric use libm, and the bridge between softfloat and libm is not >> working correctly (plenty of type abuse). > > Besides, I doubt softfloat would want bug-compatible trig function > implementations. =A0fsincos for example is a far cry from the precision o= f the > libm function. I agree, these functions certainly don't belong to SoftFloat. They should be implemented in target-i386/op_helper.c. But bit accuracy might be difficult to achieve, unless Intel/AMD properly documented how they compute all these functions. Laurent