Skip to content

Commit

Permalink
Merge pull request #129 from hvr/patch-1
Browse files Browse the repository at this point in the history
Don't `inline` popcount
  • Loading branch information
tibbe committed Mar 30, 2016
2 parents bb4fc20 + 446ed4a commit 6e490f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cbits/popc.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ static char popcount_table_8[256] = {
};
/* Table-driven popcount, with 8-bit tables */
/* 6 ops plus 4 casts and 4 lookups, 0 long immediates, 4 stages */
inline uint32_t
uint32_t
popcount(uint32_t x)
{
return popcount_table_8[(uint8_t)x] +
Expand Down

0 comments on commit 6e490f8

Please sign in to comment.