VirtualBox

Changeset 19645 in vbox for trunk


Ignore:
Timestamp:
May 12, 2009 4:49:39 PM (16 years ago)
Author:
vboxsync
Message:

Removed redundant conditions around ASMAtomicCmpXchgU64 and ASMAtomicReadU64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm.h

    r19601 r19645  
    30993099 */
    31003100#if (RT_INLINE_ASM_EXTERNAL && !RT_INLINE_ASM_USES_INTRIN) \
    3101  || (!defined(RT_ARCH_AMD64) && RT_INLINE_ASM_GCC_4_3_3_X86 && defined(IN_RING3) && defined(__PIC__))
     3101 || (RT_INLINE_ASM_GCC_4_3_3_X86 && defined(IN_RING3) && defined(__PIC__))
    31023102DECLASM(bool) ASMAtomicCmpXchgU64(volatile uint64_t *pu64, const uint64_t u64New, const uint64_t u64Old);
    31033103#else
     
    40254025 */
    40264026#if (RT_INLINE_ASM_EXTERNAL && !defined(RT_ARCH_AMD64)) \
    4027  || (!defined(RT_ARCH_AMD64) && RT_INLINE_ASM_GCC_4_3_3_X86 && defined(IN_RING3) && defined(__PIC__))
     4027 || (RT_INLINE_ASM_GCC_4_3_3_X86 && defined(IN_RING3) && defined(__PIC__))
    40284028DECLASM(uint64_t) ASMAtomicReadU64(volatile uint64_t *pu64);
    40294029#else
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