Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unroll PUT_BITS() loop and improve compile-time visibility.
We *know* that we'll go round the loop at least once if (nr) >= 8, and we *might* go round it one more time. There's no need for a loop. This gives around 8% performance improvement. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information