VirtualBox

Changeset 9241 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 30, 2008 7:39:33 AM (17 years ago)
Author:
vboxsync
Message:

cmpxchg8b only modifies ZF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r9216 r9241  
    13911391            LogFlow(("%s %VGv=%08x eax=%08x ZF=%d\n", pszInstr, pParam1, pRegFrame->eax, !!(eflags & X86_EFL_ZF)));
    13921392
    1393             /* Update guest's eflags and finish. */
    1394             pRegFrame->eflags.u32 = (pRegFrame->eflags.u32 & ~(X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF | X86_EFL_OF))
    1395                                   | (eflags                &  (X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF | X86_EFL_OF));
     1393            /* Update guest's eflags and finish; note that *only* ZF is affected. */
     1394            pRegFrame->eflags.u32 = (pRegFrame->eflags.u32 & ~(X86_EFL_ZF))
     1395                                  | (eflags                &  (X86_EFL_ZF));
    13961396
    13971397            *pcbSize = 8;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette