Searched refs:__builtin_clz (Results 1 - 25 of 56) sorted by relevance

123

/external/clang/test/CodeGen/
H A D2006-01-16-BitCountIntrinsicsUnsigned.c6 return __builtin_clz(X);
11 return __builtin_clz(X);
H A Dbuiltin-count-zeros.c4 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);}
H A Dmips-count-builtins.c18 leading = __builtin_clz(P);
H A Dcount-builtins.c15 leading = __builtin_clz(P);
/external/clang/lib/Headers/
H A Dlzcntintrin.h44 return __builtin_clz(__X);
/external/compiler-rt/lib/builtins/
H A Dclzdi2.c27 return __builtin_clz((x.s.high & ~f) | (x.s.low & f)) +
H A Dudivsi3.c36 sr = __builtin_clz(d) - __builtin_clz(n);
H A Dfloatunsidf.c32 const int exponent = (aWidth - 1) - __builtin_clz(a);
H A Dfp_extend.h24 #define src_rep_t_clz __builtin_clz
36 return __builtin_clz(a >> 32);
38 return 32 + __builtin_clz(a & REP_C(0xffffffff));
H A Dfloatsidf.c40 const int exponent = (aWidth - 1) - __builtin_clz(a);
H A Dfloatsisf.c40 const int exponent = (aWidth - 1) - __builtin_clz(a);
H A Dfloatunsisf.c32 const int exponent = (aWidth - 1) - __builtin_clz(a);
H A Dudivmoddi4.c102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high);
142 sr = 1 + n_uword_bits + __builtin_clz(d.s.low) - __builtin_clz(n.s.high);
176 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high);
/external/libcxx/include/support/ibm/
H A Dsupport.h40 #define __builtin_clz(x) __cntlz4(x) macro
45 #define __builtin_clzl(x) __builtin_clz(x)
/external/chromium_org/third_party/brotli/src/woff2/
H A Dport.h26 return n == 0 ? -1 : 31 ^ __builtin_clz(n);
/external/zopfli/src/zopfli/
H A Dutil.c31 return (31 ^ __builtin_clz(dist - 1)) - 1; /* log2(dist - 1) - 1 */
55 int l = 31 ^ __builtin_clz(dist - 1); /* log2(dist - 1) */
81 int l = (31 ^ __builtin_clz(dist - 1)); /* log2(dist - 1) */
/external/aac/libFDK/include/x86/
H A Dclz_x86.h101 result = __builtin_clz(value);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DBitwiseOperations.h72 // This is very annoying. __builtin_clz has undefined behaviour for an input of
79 return LIKELY(x) ? __builtin_clz(x) : 32;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_systemdependent.h49 return 31 ^ __builtin_clz(n);
/external/chromium_org/third_party/opus/src/celt/
H A Decintrin.h70 # define EC_CLZ(_x) (__builtin_clz(_x))
78 /*Note that __builtin_clz is not defined when _x==0, according to the gcc
/external/chromium_org/v8/src/
H A Dmisc-intrinsics.h22 return 31 - __builtin_clz(value);
/external/libopus/celt/
H A Decintrin.h70 # define EC_CLZ(_x) (__builtin_clz(_x))
78 /*Note that __builtin_clz is not defined when _x==0, according to the gcc
/external/libvpx/libvpx/vp9/common/
H A Dvp9_systemdependent.h49 return 31 ^ __builtin_clz(n);
/external/clang/test/Sema/
H A Dconstant-builtins-2.c115 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}}
/external/chromium_org/third_party/libwebp/utils/
H A Dutils.h85 return 31 ^ __builtin_clz(n);

Completed in 435 milliseconds

123