mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:56:26 +00:00
errm... proper commenting.
svn path=/trunk/; revision=64682
This commit is contained in:
parent
ba92c6ada6
commit
05f282db13
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue