Changeset 654 in vbox
- Timestamp:
- Feb 6, 2007 1:19:48 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18289
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r639 r654 64 64 # pragma intrinsic(_bittestandreset) 65 65 # pragma intrinsic(_bittestandcomplement) 66 # pragma intrinsic(_byteswap_ushort) 67 # pragma intrinsic(_byteswap_ulong) 66 68 # pragma intrinsic(_interlockedbittestandset) 67 69 # pragma intrinsic(_interlockedbittestandreset) … … 77 79 # pragma intrinsic(__readcr8) 78 80 # pragma intrinsic(__writecr8) 81 # pragma intrinsic(_byteswap_uint64) 79 82 # pragma intrinsic(_InterlockedExchange64) 80 83 # endif … … 636 639 int aInfo[4]; 637 640 __cpuid(aInfo, uOperator); 638 u32EDX = aInfo[3];641 xDX = aInfo[3]; 639 642 640 643 # else … … 3881 3884 DECLINLINE(uint32_t) ASMByteSwapU32(uint32_t u32) 3882 3885 { 3883 #if RT_INLINE_ASM_GNU_STYLE 3886 #if RT_INLINE_ASM_USES_INTRIN 3887 u32 = _byteswap_ulong(u32); 3888 #elif RT_INLINE_ASM_GNU_STYLE 3884 3889 __asm__ ("bswapl %0" : "=r" (u32) : "0" (u32)); 3885 3890 #else
Note:
See TracChangeset
for help on using the changeset viewer.