Lines Matching refs:U64
122 { U64 const add = 0x0101010101010101ull; in FSE_buildCTable_wksp()
124 U64 sv = 0; in FSE_buildCTable_wksp()
447 { U64 const vStepLog = 62 - tableLog; in FSE_normalizeM2()
448 U64 const mid = (1ULL << (vStepLog-1)) - 1; in FSE_normalizeM2()
449 …U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on… in FSE_normalizeM2()
450 U64 tmpTotal = mid; in FSE_normalizeM2()
453 U64 const end = tmpTotal + (count[s] * rStep); in FSE_normalizeM2()
478 U64 const scale = 62 - tableLog; in FSE_normalizeCount()
479 U64 const step = ZSTD_div64((U64)1<<62, (U32)total); /* <== here, one division ! */ in FSE_normalizeCount()
480 U64 const vStep = 1ULL<<(scale-20); in FSE_normalizeCount()
496 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
497 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()