VirtualBox

Changeset 95074 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 24, 2022 1:38:17 PM (3 years ago)
Author:
vboxsync
Message:

IPRT/tstRTInlineAsm: Fixed bug in the ASMAtomicCmpXchgPtrVoid tests in tstASMAtomicCmpXchgU32Worker.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp

    r95072 r95074  
    14491449
    14501450#if ARCH_BITS == 32
     1451    *pu32 = 29;
    14511452    void * volatile *ppv = (void * volatile *)pu32;
    14521453    CHECK_OP_AND_VAL_EX(bool, "%d", "%p", ppv, ASMAtomicCmpXchgPtrVoid(ppv, NULL, (void *)(intptr_t)-29), false, (void *)(intptr_t)29);
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