Home
last modified time | relevance | path

Searched refs:BIT_highbit32 (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/lib/zstd/
Dentropy_common.c189 U32 const tableLog = BIT_highbit32(weightTotal) + 1; in HUF_readStats_wksp()
197 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats_wksp()
198 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats_wksp()
Dbitstream.h118 ZSTD_STATIC unsigned BIT_highbit32(register U32 val) { return 31 - __builtin_clz(val); } in BIT_highbit32() function
222 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is always… in BIT_initDStream()
241 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
Dfse_decompress.c129 tableDecode[u].nbBits = (BYTE)(tableLog - BIT_highbit32((U32)nextState)); in FSE_buildDTable_wksp()