Searched defs:clz32 (Results 1 - 4 of 4) sorted by relevance

/external/qemu/include/qemu/
H A Dhost-utils.h53 * clz32 - count leading zeros in a 32-bit value.
59 static inline int clz32(uint32_t val) function
102 return clz32(~val);
125 return cnt + clz32(val);
307 # define clzl clz32
/external/valgrind/main/VEX/priv/
H A Dguest_generic_x87.c566 static UInt clz32 ( UInt x ) function
592 return 32 - clz32((~x) & (x-1));
667 newECX = intRes2 == 0 ? 16 : (31 - clz32(intRes2));
735 newECX = intRes2 == 0 ? 8 : (31 - clz32(intRes2));
/external/valgrind/main/none/tests/amd64/
H A Dpcmpstr64w.c44 UInt clz32 ( UInt x ) function
70 return 32 - clz32((~x) & (x-1));
151 newECX = intRes2 == 0 ? 8 : (31 - clz32(intRes2));
H A Dpcmpstr64.c42 UInt clz32 ( UInt x ) function
68 return 32 - clz32((~x) & (x-1));
149 newECX = intRes2 == 0 ? 16 : (31 - clz32(intRes2));

Completed in 455 milliseconds