Author: tkreuzer
Date: Wed Aug 16 16:06:22 2017
New Revision: 75571
URL:
http://svn.reactos.org/svn/reactos?rev=75571&view=rev
Log:
[INTRIN.H] Add _mul128 and _umul128 prototypes and remove some obsolete ones from the MSC
version.
Modified:
trunk/reactos/sdk/include/crt/intrin.h
trunk/reactos/sdk/include/crt/msc/intrin.h
Modified: trunk/reactos/sdk/include/crt/intrin.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/crt/intrin.h?r…
==============================================================================
--- trunk/reactos/sdk/include/crt/intrin.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/crt/intrin.h [iso-8859-1] Wed Aug 16 16:06:22 2017
@@ -757,6 +757,8 @@
unsigned __int64 __lzcnt64(unsigned __int64);
void __movsq(unsigned long long *, unsigned long long const *, size_t);
__int64 __mulh(__int64, __int64);
+__int64 _mul128(__int64 _Multiplier, __int64 _Multiplicand, __int64 * _HighProduct);
+unsigned __int64 _umul128(unsigned __int64 _Multiplier, unsigned __int64 _Multiplicand,
unsigned __int64 * _HighProduct);
unsigned __int64 __popcnt64(unsigned __int64);
unsigned __int64 __readcr0(void);
unsigned __int64 __readcr2(void);
@@ -820,8 +822,6 @@
__m128i _mm_set1_epi64x(__int64);
__m128i _mm_set_epi64x(__int64, __int64);
void _mm_stream_si64x(__int64 *, __int64);
-__int64 _mul128(__int64 _Multiplier, __int64 _Multiplicand, __int64 * _HighProduct);
-unsigned __int64 _umul128(unsigned __int64 _Multiplier, unsigned __int64 _Multiplicand,
unsigned __int64 * _HighProduct);
#endif
#endif /* _M_X64 */
Modified: trunk/reactos/sdk/include/crt/msc/intrin.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/crt/msc/intrin…
==============================================================================
--- trunk/reactos/sdk/include/crt/msc/intrin.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/crt/msc/intrin.h [iso-8859-1] Wed Aug 16 16:06:22 2017
@@ -173,7 +173,6 @@
#pragma intrinsic(_byteswap_uint64)
#if defined(_M_IX86) || defined(_M_AMD64)
#pragma intrinsic(__ll_lshift)
-__int64 __ll_rshift(__int64 Mask, int Bit);
#pragma intrinsic(__ll_rshift)
#pragma intrinsic(__ull_rshift)
#pragma intrinsic(__lzcnt)
@@ -195,17 +194,14 @@
#endif
/*** 64/128-bit math ***/
-__int64 __cdecl _abs64(__int64);
#pragma intrinsic(_abs64)
#if defined(_M_IX86) || defined(_M_AMD64)
#pragma intrinsic(__emul)
#pragma intrinsic(__emulu)
#endif
#ifdef _M_AMD64
-__int64 __mulh(__int64 a, __int64 b);
#pragma intrinsic(__mulh)
#pragma intrinsic(__umulh)
-__int64 _mul128(__int64 Multiplier, __int64 Multiplicand, __int64 * HighProduct);
#pragma intrinsic(_mul128)
#pragma intrinsic(_umul128)
#elif defined(_M_ARM)