Changeset 87213 in vbox
- Timestamp:
- Jan 11, 2021 1:29:41 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp
r87212 r87213 1403 1403 1404 1404 #if ARCH_BITS == 32 1405 void * volatile *ppv = (void * volatile *)pu 64;1405 void * volatile *ppv = (void * volatile *)pu32; 1406 1406 CHECK_OP_AND_VAL_EX(bool, "%d", "%p", ppv, ASMAtomicCmpXchgPtrVoid(ppv, NULL, (void *)(intptr_t)-29), false, (void *)(intptr_t)29); 1407 1407 CHECK_OP_AND_VAL_EX(bool, "%d", "%p", ppv, ASMAtomicCmpXchgPtrVoid(ppv, NULL, (void *)(intptr_t)29), true, NULL); … … 1410 1410 1411 1411 bool fRc; 1412 RTSEMEVENT volatile *phEvt = (RTSEMEVENT volatile *)pu 64;1412 RTSEMEVENT volatile *phEvt = (RTSEMEVENT volatile *)pu32; 1413 1413 ASMAtomicCmpXchgHandle(phEvt, (RTSEMEVENT)~(uintptr_t)0x12356389, (RTSEMEVENT)NULL, fRc); 1414 1414 CHECKVAL(fRc, false, "%d");
Note:
See TracChangeset
for help on using the changeset viewer.