Lines Matching defs:acc
642 static xxh_u32 XXH32_round(xxh_u32 acc, xxh_u32 input)
644 acc += input * PRIME32_2;
645 acc = XXH_rotl32(acc, 13);
646 acc *= PRIME32_1;
649 * This inline assembly hack forces acc into a normal register. This is the
679 * (acc) // and set acc as the operand
689 __asm__("" : "+r" (acc));
691 return acc;
1082 static xxh_u64 XXH64_round(xxh_u64 acc, xxh_u64 input)
1084 acc += input * PRIME64_2;
1085 acc = XXH_rotl64(acc, 31);
1086 acc *= PRIME64_1;
1087 return acc;
1090 static xxh_u64 XXH64_mergeRound(xxh_u64 acc, xxh_u64 val)
1093 acc ^= val;
1094 acc = acc * PRIME64_1 + PRIME64_4;
1095 return acc;