Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Aug 10, 2020
1 parent 65121ba commit 4d47110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpopcnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ static inline uint64_t popcnt(const void* data, uint64_t size)
cnt += tmp[1];
}

if defined(__ARM_FEATURE_UNALIGNED)
#if defined(__ARM_FEATURE_UNALIGNED)
/* We use unaligned memory accesses here to improve performance */
for (; i < size - size % 8; i += 8)
cnt += popcnt64(*(const uint64_t*)(ptr + i));
Expand Down

0 comments on commit 4d47110

Please sign in to comment.