summaryrefslogtreecommitdiff
path: root/tests/test-bitcnt.c
AgeCommit message (Collapse)AuthorFilesLines
2017-01-10tests: New test-bitcntAlex Bennée1-0/+140
Add some unit tests for bit count functions (currently only ctpop). As the routines are based on the Hackers Delight optimisations I based the test patterns on their tests. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>