VirtualBox

Changeset 54269 in vbox


Ignore:
Timestamp:
Feb 18, 2015 4:07:48 PM (10 years ago)
Author:
vboxsync
Message:

asm.h: Don't call assmebly for ASMAtomicUoReadU64 on AMD64.

File:
1 edited

Legend:

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

    r53615 r54269  
    16431643 * @remark  This will fault if the memory is read-only!
    16441644 */
    1645 #if (RT_INLINE_ASM_EXTERNAL && !RT_INLINE_ASM_USES_INTRIN) \
    1646  || RT_INLINE_DONT_MIX_CMPXCHG8B_AND_PIC
     1645#if !defined(RT_ARCH_AMD64) \
     1646  && (   (RT_INLINE_ASM_EXTERNAL && !RT_INLINE_ASM_USES_INTRIN) \
     1647      || RT_INLINE_DONT_MIX_CMPXCHG8B_AND_PIC)
    16471648DECLASM(uint64_t) ASMAtomicUoReadU64(volatile uint64_t *pu64);
    16481649#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