[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-cvs
Subject:    [Bochs-cvs] SF.net SVN: bochs:[10438] trunk/bochs/cpu
From:       sshwarts () users ! sourceforge ! net
Date:       2011-06-28 18:53:21
Message-ID: E1QbdPV-0004X1-6I () sfp-svn-5 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 10438
          http://bochs.svn.sourceforge.net/bochs/?rev=10438&view=rev
Author:   sshwarts
Date:     2011-06-28 18:53:20 +0000 (Tue, 28 Jun 2011)

Log Message:
-----------
bugfix

Modified Paths:
--------------
    trunk/bochs/cpu/bit16.cc
    trunk/bochs/cpu/bit32.cc
    trunk/bochs/cpu/bit64.cc

Modified: trunk/bochs/cpu/bit16.cc
===================================================================
--- trunk/bochs/cpu/bit16.cc	2011-06-28 16:29:11 UTC (rev 10437)
+++ trunk/bochs/cpu/bit16.cc	2011-06-28 18:53:20 UTC (rev 10438)
@@ -62,8 +62,8 @@
       op2_16 <<= 1;
     }
 
-    // will clear ZF because op1_16 can't be zero
     SET_FLAGS_OSZAPC_LOGIC_16(op1_16);
+    clear_ZF();
 
     /* now write result back to destination */
     BX_WRITE_16BIT_REG(i->nnn(), op1_16);

Modified: trunk/bochs/cpu/bit32.cc
===================================================================
--- trunk/bochs/cpu/bit32.cc	2011-06-28 16:29:11 UTC (rev 10437)
+++ trunk/bochs/cpu/bit32.cc	2011-06-28 18:53:20 UTC (rev 10438)
@@ -62,8 +62,8 @@
       op2_32 <<= 1;
     }
 
-    // will clear ZF because op1_32 can't be zero
     SET_FLAGS_OSZAPC_LOGIC_32(op1_32);
+    clear_ZF();
 
     /* now write result back to destination */
     BX_WRITE_32BIT_REGZ(i->nnn(), op1_32);

Modified: trunk/bochs/cpu/bit64.cc
===================================================================
--- trunk/bochs/cpu/bit64.cc	2011-06-28 16:29:11 UTC (rev 10437)
+++ trunk/bochs/cpu/bit64.cc	2011-06-28 18:53:20 UTC (rev 10438)
@@ -62,8 +62,8 @@
       op2_64 <<= 1;
     }
 
-    // will clear ZF because op1_16 can't be zero
     SET_FLAGS_OSZAPC_LOGIC_64(op1_64);
+    clear_ZF();
 
     /* now write result back to destination */
     BX_WRITE_64BIT_REG(i->nnn(), op1_64);


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic