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

1234

/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/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
H A Droundup.c20 // __builtin_clz is undefined for zero input
25 int lz = __builtin_clz((int) v);
/external/syslinux/com32/include/
H A Dilog2.h41 return __builtin_clz(__v) ^ 31;
/external/clang/lib/Headers/
H A Dlzcntintrin.h43 return __X ? __builtin_clz(__X) : 32;
49 return __X ? __builtin_clz(__X) : 32;
/external/compiler-rt/lib/builtins/
H A Dclzdi2.c27 return __builtin_clz((x.s.high & ~f) | (x.s.low & f)) +
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));
47 #define src_rep_t_clz __builtin_clz
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 Dfloatunsitf.c28 const int exponent = (aWidth - 1) - __builtin_clz(a);
H A Dfloatsidf.c40 const int exponent = (aWidth - 1) - __builtin_clz(a);
H A Dfloatsitf.c37 const int exponent = (aWidth - 1) - __builtin_clz(aAbs);
/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/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/libhevc/common/x86/
H A Dihevc_platform_macros.h79 return (__builtin_clz(u4_word));
85 return (__builtin_clz(u4_word));
110 r = 31 - __builtin_clz(word); \
145 r = 32 - __builtin_clz(word); \
/external/libmpeg2/common/armv8/
H A Dimpeg2_platform_macros.h32 return (__builtin_clz(u4_word));
H A Dicv_platform_macros.h46 return (__builtin_clz(u4_word));
54 return (__builtin_clz(u4_word));
/external/libmpeg2/common/mips/
H A Dimpeg2_platform_macros.h31 return (__builtin_clz(u4_word));
H A Dicv_platform_macros.h44 return(__builtin_clz(u4_word));
52 return(__builtin_clz(u4_word));
/external/libmpeg2/common/x86/
H A Dimpeg2_platform_macros.h31 return (__builtin_clz(u4_word));
H A Dicv_platform_macros.h44 return(__builtin_clz(u4_word));
52 return(__builtin_clz(u4_word));
/external/libhevc/common/mips/
H A Dihevc_platform_macros.h64 return (__builtin_clz(u4_word));
71 return (__builtin_clz(u4_word));
/external/libmpeg2/common/arm/
H A Dicv_platform_macros.h44 return (__builtin_clz(u4_word));
52 return (__builtin_clz(u4_word));

Completed in 1958 milliseconds

1234