Searched refs:__builtin_clz (Results 1 – 25 of 73) sorted by relevance
123
24 #define src_rep_t_clz __builtin_clz36 return __builtin_clz(a >> 32); in src_rep_t_clz()38 return 32 + __builtin_clz(a & REP_C(0xffffffff)); in src_rep_t_clz()47 #define src_rep_t_clz __builtin_clz
102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); in __udivmoddi4()142 sr = 1 + n_uword_bits + __builtin_clz(d.s.low) - __builtin_clz(n.s.high); in __udivmoddi4()176 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high); in __udivmoddi4()
104 uint32_t __inline __builtin_clz(uint32_t value) { in __builtin_clz() function125 return __builtin_clz(msh); in __builtin_clzll()126 return 32 + __builtin_clz(lsh); in __builtin_clzll()
36 sr = __builtin_clz(d) - __builtin_clz(n); in ARM_EABI_FNALIAS()
50 return __builtin_clz(a); in rep_clz()74 return __builtin_clz(a >> 32); in rep_clz()76 return 32 + __builtin_clz(a & REP_C(0xffffffff)); in rep_clz()
27 return __builtin_clz((x.s.high & ~f) | (x.s.low & f)) + in __clzdi2()
28 const int exponent = (aWidth - 1) - __builtin_clz(a); in __floatunsitf()
32 const int exponent = (aWidth - 1) - __builtin_clz(a); in ARM_EABI_FNALIAS()
37 const int exponent = (aWidth - 1) - __builtin_clz(aAbs); in __floatsitf()
79 return (__builtin_clz(u4_word)); in CLZ()85 return (__builtin_clz(u4_word)); in CLZNZ()110 r = 31 - __builtin_clz(word); \145 r = 32 - __builtin_clz(word); \
124 return (__builtin_clz(u4_word)); in CLZ()131 return (__builtin_clz(u4_word)); in CLZNZ()157 r = 31 - __builtin_clz(word); \192 r = 32 - __builtin_clz(word); \
31 return (31 ^ __builtin_clz(dist - 1)) - 1; /* log2(dist - 1) - 1 */ in ZopfliGetDistExtraBits()55 int l = 31 ^ __builtin_clz(dist - 1); /* log2(dist - 1) */ in ZopfliGetDistExtraBitsValue()81 int l = (31 ^ __builtin_clz(dist - 1)); /* log2(dist - 1) */ in ZopfliGetDistSymbol()
6 return __builtin_clz(X); in t2()11 return __builtin_clz(X); in t1()
4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} in a()
18 leading = __builtin_clz(P); in test_i32()
15 leading = __builtin_clz(P); in test_i32()
115 char clz1[__builtin_clz(1) == BITSIZE(int) - 1 ? 1 : -1];116 char clz2[__builtin_clz(7) == BITSIZE(int) - 3 ? 1 : -1];117 char clz3[__builtin_clz(1 << (BITSIZE(int) - 1)) == 0 ? 1 : -1];118 int clz4 = __builtin_clz(0); // expected-error {{not a compile-time constant}}
43 return __X ? __builtin_clz(__X) : 32; in __lzcnt32()49 return __X ? __builtin_clz(__X) : 32; in _lzcnt_u32()
40 #define __builtin_clz(x) __cntlz4(x) macro45 #define __builtin_clzl(x) __builtin_clz(x)
46 return (__builtin_clz(u4_word)); in CLZ()54 return (__builtin_clz(u4_word)); in CLZNZ()
44 return(__builtin_clz(u4_word)); in CLZ()52 return(__builtin_clz(u4_word)); in CLZNZ()
64 return (__builtin_clz(u4_word)); in CLZ()71 return (__builtin_clz(u4_word)); in CLZNZ()
44 return (__builtin_clz(u4_word)); in CLZ()52 return (__builtin_clz(u4_word)); in CLZNZ()
55 #define COMPILER_HAS_BUILTIN_CLZ (__has_builtin(__builtin_clz))118 return (value == 0) ? 32 : __builtin_clz(static_cast<unsigned>(value));