Searched defs:u32Old (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Runtime/common/asm/ |
H A D | asm-fake.cpp | 76 RTDECL(bool) ASMAtomicCmpXchgU32(volatile uint32_t *pu32, const uint32_t u32New, const uint32_t u32Old) argument 78 if (*pu32 == u32Old) 96 RTDECL(bool) ASMAtomicCmpXchgExU32(volatile uint32_t *pu32, const uint32_t u32New, const uint32_t u32Old, uint32_t *pu32Old) argument 99 if (u32Cur == u32Old) 102 *pu32Old = u32Old; 124 uint32_t u32Old = *pu32; local 125 *pu32 = u32Old + u32; 126 return u32Old;
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTInlineAsm.cpp | 816 uint32_t u32Old = UINT32_C(0x80005111); local 818 CHECKOP(ASMAtomicCmpXchgExU32(pu32, 0, 0, &u32Old), false, "%d", bool); 820 CHECKVAL(u32Old, UINT32_C(0xffffffff), "%x"); 822 CHECKOP(ASMAtomicCmpXchgExU32(pu32, 0, UINT32_C(0xffffffff), &u32Old), true, "%d", bool); 824 CHECKVAL(u32Old, UINT32_C(0xffffffff), "%x"); 826 CHECKOP(ASMAtomicCmpXchgExU32(pu32, UINT32_C(0x8008efd), UINT32_C(0xffffffff), &u32Old), false, "%d", bool); 828 CHECKVAL(u32Old, 0, "%x"); 830 CHECKOP(ASMAtomicCmpXchgExU32(pu32, UINT32_C(0x8008efd), 0, &u32Old), true, "%d", bool); 832 CHECKVAL(u32Old, 0, "%x"); 834 CHECKOP(ASMAtomicCmpXchgExU32(pu32, 0, UINT32_C(0x8008efd), &u32Old), tru [all...] |
/vbox/include/iprt/ |
H A D | asm.h | 733 * @param u32Old The old value to *pu32 compare with. 736 DECLASM(bool) ASMAtomicCmpXchgU32(volatile uint32_t *pu32, const uint32_t u32New, const uint32_t u32Old); 738 DECLINLINE(bool) ASMAtomicCmpXchgU32(volatile uint32_t *pu32, const uint32_t u32New, uint32_t u32Old) argument 746 "=a" (u32Old) 748 "2" (u32Old), 753 return (uint32_t)_InterlockedCompareExchange((long *)pu32, u32New, u32Old) == u32Old; 764 mov eax, [u32Old] 1022 * @param u32Old The old value to *pu32 compare with. 1026 DECLASM(bool) ASMAtomicCmpXchgExU32(volatile uint32_t *pu32, const uint32_t u32New, const uint32_t u32Old, uint32_ 1028 ASMAtomicCmpXchgExU32(volatile uint32_t *pu32, const uint32_t u32New, const uint32_t u32Old, uint32_t *pu32Old) argument [all...] |
Completed in 53 milliseconds