qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Bug in target-i386/helper.c:helper_fxam_ST0


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
User-agent: KMail/1.9.1

> 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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]