Lines Matching refs:U64
120 { U64 const add = 0x0101010101010101ull; in FSE_buildCTable_wksp()
122 U64 sv = 0; in FSE_buildCTable_wksp()
454 { U64 const vStepLog = 62 - tableLog; in FSE_normalizeM2()
455 U64 const mid = (1ULL << (vStepLog-1)) - 1; in FSE_normalizeM2()
456 …U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on… in FSE_normalizeM2()
457 U64 tmpTotal = mid; in FSE_normalizeM2()
460 U64 const end = tmpTotal + (count[s] * rStep); in FSE_normalizeM2()
485 U64 const scale = 62 - tableLog; in FSE_normalizeCount()
486 U64 const step = ZSTD_div64((U64)1<<62, (U32)total); /* <== here, one division ! */ in FSE_normalizeCount()
487 U64 const vStep = 1ULL<<(scale-20); in FSE_normalizeCount()
503 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
504 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()