From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jhpib-0007RH-9x for qemu-devel@nongnu.org; Fri, 04 Apr 2008 13:28:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhpiZ-0007Pt-QG for qemu-devel@nongnu.org; Fri, 04 Apr 2008 13:28:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhpiZ-0007Pd-H3 for qemu-devel@nongnu.org; Fri, 04 Apr 2008 13:28:47 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JhpiZ-00079E-6i for qemu-devel@nongnu.org; Fri, 04 Apr 2008 13:28:47 -0400 Received: from mail.oarcorp.com ([216.186.189.5] helo=OARmail.OARCORP.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhpiY-0006uf-7Q for qemu-devel@nongnu.org; Fri, 04 Apr 2008 13:28:46 -0400 Message-ID: <47F65C91.1040807@oarcorp.com> Date: Fri, 4 Apr 2008 11:51:29 -0500 From: Joel Sherrill MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] FPU Accuracy on i386 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I hope this is the right mailing list. I am using the precompiled 0.91 image to do automated testing of i386-rtems. In the Ada validation suite, 17 of the 21 failures appear to be due to FP calculation accuracy. Here is a typical test output for these: ,.,. CXG2002 ACATS 2.5 88-01-01 00:00:00 ---- CXG2002 Check the accuracy of the complex modulus function. * CXG2002 test 1 -- abs(bigreal + 0i) actual: +Inf******************* expected: 1.18973149535723177E+4932 difference: -Inf******************* max_err: 3.86972841582221554E+4913. * CXG2002 test 2 -- abs(0 + bigreal*i) actual: +Inf******************* expected: 1.18973149535723177E+4932 difference: -Inf******************* max_err: 3.86972841582221554E+4913. * CXG2002 test 8 -- abs(1 + 1*i) actual: 1.41421356237309515E+00 expected: 1.41421356237309505E+00 difference: -9.67108337857069955E-17 max_err: 4.59988025005012224E-19. **** CXG2002 FAILED ****************************. I am running with the "-cpu 486" option on a 32-bit x86 host. Are there known issues with FPU code in qemu that I should be aware of? Thanks. -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985