Add HAVE_CTZ, HAVE_CTZL, and HAVE_CTZLL
This commit is contained in:
parent
c95f077194
commit
701dcd4e9f
@ -0,0 +1,10 @@
|
|||||||
|
// HAVE_BUILTIN_CTZ
|
||||||
|
|
||||||
|
#undef HAVE_BUILTIN_CTZ
|
||||||
|
|
||||||
|
/* __builtin_ctz (count the leading/most-significant zeros in an unsigned int)
|
||||||
|
* is available in all versions of GCC and Clang.
|
||||||
|
*/
|
||||||
|
#if defined (__GNUC__) || defined(__clang__)
|
||||||
|
# define HAVE_BUILTIN_CTZ 1
|
||||||
|
#endif
|
@ -0,0 +1,10 @@
|
|||||||
|
// HAVE_BUILTIN_CTZL
|
||||||
|
|
||||||
|
#undef HAVE_BUILTIN_CTZL
|
||||||
|
|
||||||
|
/* __builtin_ctzl (count the leading/most-significant zeros in an unsigned
|
||||||
|
* long) is available in all versions of GCC and Clang.
|
||||||
|
*/
|
||||||
|
#if defined (__GNUC__) || defined(__clang__)
|
||||||
|
# define HAVE_BUILTIN_CTZL 1
|
||||||
|
#endif
|
@ -0,0 +1,10 @@
|
|||||||
|
// HAVE_BUILTIN_CTZLL
|
||||||
|
|
||||||
|
#undef HAVE_BUILTIN_CTZLL
|
||||||
|
|
||||||
|
/* __builtin_ctzll (count the leading/most-significant zeros in an unsigned
|
||||||
|
* long long) is available in all versions of GCC and Clang.
|
||||||
|
*/
|
||||||
|
#if defined (__GNUC__) || defined(__clang__)
|
||||||
|
# define HAVE_BUILTIN_CTZLL 1
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user