Home
last modified time | relevance | path

Searched refs:CntLz (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-4.2.8-20130828/include/nn/math/
Dmath_Arithmetic.h517 CntLz(u32 x) in CntLz() function
604 inline u32 CntTz(u32 x) { return 32 - CntLz(~x & (x - 1)); } in CntTz()
613 inline u32 ILog2(u32 x) { return 31 - CntLz(x); } in ILog2()
622 inline u32 FloorPwr2(u32 x) { return 0x80000000 >> CntLz(x); } in FloorPwr2()
631 inline u32 CeilPwr2(u32 x) { return 0x80000000 >> (CntLz(x - 1) - 1); } in CeilPwr2()
/CTR-SDK-4.2.8-20130828/sources/libraries/math/
Dmath_Arithmetic.cpp698 y = (19 * (31 - CntLz(x))) >> 6; in ILog10()