VirtualBox

Changeset 12240 in vbox


Ignore:
Timestamp:
Sep 8, 2008 5:11:21 PM (16 years ago)
Author:
vboxsync
Message:

cmpxchg8b bugfix (without the EAX cast the result is incorrect).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/helper.c

    r11982 r12240  
    17761776        eflags |= CC_Z;
    17771777    } else {
    1778         EDX = d >> 32;
    1779         EAX = d;
     1778        /* always do the store */
     1779        stq(A0, d);
     1780        EDX = (uint32_t)(d >> 32);
     1781        EAX = (uint32_t)d;
    17801782        eflags &= ~CC_Z;
    17811783    }
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