errm... proper commenting.

svn path=/trunk/; revision=64682
This commit is contained in:
Hermès Bélusca-Maïto 2014-10-11 18:40:08 +00:00
parent ba92c6ada6
commit 05f282db13

View file

@ -27,13 +27,13 @@
#if defined (__GNUC__) #if defined (__GNUC__)
#define CountLeadingZeros64(x) __builtin_clzll(x) #define CountLeadingZeros64(x) __builtin_clzll(x)
#if 0 /*
#elif (_MSC_VER >= 1500) && defined(_WIN64) #elif (_MSC_VER >= 1500) && defined(_WIN64)
#define CountLeadingZeros64(x) __lzcnt64(x) #define CountLeadingZeros64(x) __lzcnt64(x)
#elif (_MSC_VER >= 1500) #elif (_MSC_VER >= 1500)
#define CountLeadingZeros64(x) ((x) > 0xFFFFFFFFULL) ? __lzcnt((x) >> 32) \ #define CountLeadingZeros64(x) ((x) > 0xFFFFFFFFULL) ? __lzcnt((x) >> 32) \
: (__lzcnt(x) + 32) : (__lzcnt(x) + 32)
#endif */
#else #else
FORCEINLINE FORCEINLINE