From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FsLA3-00006t-PZ for qemu-devel@nongnu.org; Mon, 19 Jun 2006 10:55:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FsL9z-00006J-6C for qemu-devel@nongnu.org; Mon, 19 Jun 2006 10:55:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FsL9z-00006B-24 for qemu-devel@nongnu.org; Mon, 19 Jun 2006 10:55:27 -0400 Received: from [81.103.221.47] (helo=mtaout01-winn.ispmail.ntl.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FsLKI-0007ud-HZ for qemu-devel@nongnu.org; Mon, 19 Jun 2006 11:06:06 -0400 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20060619145525.ZCKR13446.mtaout01-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Mon, 19 Jun 2006 15:55:25 +0100 Received: from suse10.valgrind.org ([82.21.96.252]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20060619145525.YNJW24467.aamtaout02-winn.ispmail.ntl.com@suse10.valgrind.org> for ; Mon, 19 Jun 2006 15:55:25 +0100 From: Julian Seward Subject: Re: [Qemu-devel] [PATCH] Bug in target-i386/helper.c:helper_fxam_ST0 Date: Mon, 19 Jun 2006 15:55:19 +0100 References: <200606191325.22666.jseward@acm.org> In-Reply-To: <200606191325.22666.jseward@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606191555.19391.jseward@acm.org> 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 > be the cause the of Win2K SP4 installation failure. This doesn't seem to help alas. Here's a context diff of the same patch (easier to make sense of). J =================================================================== RCS file: /sources/qemu/qemu/target-i386/helper.c,v retrieving revision 1.65 diff -C5 -r1.65 helper.c *** target-i386/helper.c 3 May 2006 19:17:26 -0000 1.65 --- target-i386/helper.c 19 Jun 2006 14:32:44 -0000 *************** *** 2948,2958 **** --- 2948,2962 ---- if (SIGND(temp)) env->fpus |= 0x200; /* C1 <-- 1 */ expdif = EXPD(temp); if (expdif == MAXEXPD) { + # ifdef USE_X86LDOUBLE + if (MANTD(temp) == 0x8000000000000000ULL) + # else if (MANTD(temp) == 0) + # endif env->fpus |= 0x500 /*Infinity*/; else env->fpus |= 0x100 /*NaN*/; } else if (expdif == 0) { if (MANTD(temp) == 0)