Searched refs:__clz (Results 1 – 17 of 17) sorted by relevance
52 int __clz(unsigned __x) { return __builtin_clz(__x); }55 int __clz(unsigned long __x) { return __builtin_clzl(__x); }58 int __clz(unsigned long long __x) { return __builtin_clzll(__x); }108 int __clz(unsigned __x) {118 int __clz(unsigned long __x) {120 return __clz(static_cast<unsigned>(__x));124 int __clz(unsigned long long __x) {
418 unsigned __clz = __bits_per_word - __first.__ctz_;419 difference_type __dn = _VSTD::min(static_cast<difference_type>(__clz), __n);421 …storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz - __dn));559 unsigned __clz = __bits_per_word - __last.__ctz_;560 …_storage_type __m = (~__storage_type(0) << (__last.__ctz_ - __dn)) & (~__storage_type(0) >> __clz);724 unsigned __clz = __bits_per_word - __first.__ctz_;725 difference_type __dn = _VSTD::min(static_cast<difference_type>(__clz), __n);727 …storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz - __dn));1047 unsigned __clz = __bits_per_word - __first1.__ctz_;1048 difference_type __dn = _VSTD::min(static_cast<difference_type>(__clz), __n);[all …]
126 return __n < 2 ? __n : (size_t(1) << (std::numeric_limits<size_t>::digits - __clz(__n-1)));
2939 size_t __w = _Dt - __clz(_Rp) - 1;
423 unsigned __clz = __bits_per_word - __first.__ctz_;424 difference_type __dn = _VSTD::min(static_cast<difference_type>(__clz), __n);426 …storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz - __dn));564 unsigned __clz = __bits_per_word - __last.__ctz_;565 …_storage_type __m = (~__storage_type(0) << (__last.__ctz_ - __dn)) & (~__storage_type(0) >> __clz);729 unsigned __clz = __bits_per_word - __first.__ctz_;730 difference_type __dn = _VSTD::min(static_cast<difference_type>(__clz), __n);732 …storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz - __dn));1052 unsigned __clz = __bits_per_word - __first1.__ctz_;1053 difference_type __dn = _VSTD::min(static_cast<difference_type>(__clz), __n);[all …]
65 return __clz(inp); /* armcc builtin */ in clz32()
152 return __clz(t); in test_clz()
61 clz = __clz(uvar); in exec_integer()
7904 __clz(0xffffffff) = 07905 __clz(0x7fffffff) = 17906 __clz(0x3fffffff) = 27907 __clz(0x1fffffff) = 37908 __clz(0xfffffff) = 47909 __clz(0x7ffffff) = 57910 __clz(0x3ffffff) = 67911 __clz(0x1ffffff) = 77912 __clz(0xffffff) = 87913 __clz(0x7fffff) = 9[all …]
39 return __clz(val); in count_leading_zeros()
142 __clz(uint32_t __t) { in __clz() function
463 #define __CLZ __clz
126 const uint32_t l_minus_1 = 31 - __clz((int) (d - 1)); in fxdiv_init_uint32_t()
162 return __clz(t); in test_clz()
47 __DEVICE__ int __clz(int __a) { return __nv_clz(__a); } in __clz() function