Some intrinsics are redefined differently in two places.
Index: include/crt/mingw32/intrin_arm.h =================================================================== --- include/crt/mingw32/intrin_arm.h (revision 67368) +++ include/crt/mingw32/intrin_arm.h (working copy) @@ -44,10 +44,10 @@ return (value >> 8) || (value << 8); } -__INTRIN_INLINE unsigned _CountLeadingZeros(long Mask) -{ - return Mask ? __builtin_clz(Mask) : 32; -} +//__INTRIN_INLINE unsigned _CountLeadingZeros(long Mask) +//{ + // return Mask ? __builtin_clz(Mask) : 32; +//} __INTRIN_INLINE unsigned _CountTrailingZeros(long Mask) { @@ -346,15 +346,15 @@ return _InterlockedExchangeAdd(lpAddend, 1) + 1; } -__INTRIN_INLINE long _InterlockedDecrement16(volatile short * const lpAddend) -{ - return _InterlockedExchangeAdd16(lpAddend, -1) - 1; -} +//__INTRIN_INLINE long _InterlockedDecrement16(volatile short * const lpAddend) +//{ +// return _InterlockedExchangeAdd16(lpAddend, -1) - 1; +//} -__INTRIN_INLINE long _InterlockedIncrement16(volatile short * const lpAddend) -{ - return _InterlockedExchangeAdd16(lpAddend, 1) + 1; -} +//__INTRIN_INLINE long _InterlockedIncrement16(volatile short * const lpAddend) +//{ +// return _InterlockedExchangeAdd16(lpAddend, 1) + 1; +//} __INTRIN_INLINE long _InterlockedAddLargeStatistic(volatile long long * const Addend, const long Value) {
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev