VirtualBox

Changeset 13562 in vbox


Ignore:
Timestamp:
Oct 24, 2008 4:29:31 PM (16 years ago)
Author:
vboxsync
Message:

Stricter tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstInstrEmul.cpp

    r13561 r13562  
    5555        return -1;
    5656    }
     57    val = UINT64_C(0x123456789);
    5758    eflags = EMEmulateLockCmpXchg8b(&val, &eax, &edx, ebx, ecx);
    58     if (eflags & X86_EFL_ZF)
     59    if (    (eflags & X86_EFL_ZF)
     60        ||  eax != 0x23456789
     61        ||  edx != 0x1)
    5962    {
    6063        printf("Lock cmpxchg8b failed the non-equal case! (val=%x%x)\n", val);
     
    7578        return -1;
    7679    }
     80    val = UINT64_C(0x123456789);
    7781    eflags = EMEmulateCmpXchg8b(&val, &eax, &edx, ebx, ecx);
    78     if (eflags & X86_EFL_ZF)
     82    if (    (eflags & X86_EFL_ZF)
     83        ||  eax != 0x23456789
     84        ||  edx != 0x1)
    7985    {
    8086        printf("Cmpxchg8b failed the non-equal case! (val=%x%x)\n", val);
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