Changeset 33138 in vbox
- Timestamp:
- Oct 14, 2010 3:43:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r33136 r33138 2642 2642 DECLINLINE(uint64_t) ASMAtomicIncU64(uint64_t volatile *pu64) 2643 2643 { 2644 # if RT_INLINE_ASM_USES_INTRIN && defined(RT_ARCH_AMD64) 2644 2645 uint64_t u64; 2645 # if RT_INLINE_ASM_USES_INTRIN && defined(RT_ARCH_AMD64)2646 2646 u64 = _InterlockedIncrement64((__int64 *)pu64); 2647 2647 return u64; 2648 2648 2649 2649 # elif RT_INLINE_ASM_GNU_STYLE && defined(RT_ARCH_AMD64) 2650 uint64_t u64; 2650 2651 __asm__ __volatile__("lock; xaddq %0, %1\n\t" 2651 2652 : "=r" (u64),
Note:
See TracChangeset
for help on using the changeset viewer.