Skip to content

Commit

Permalink
Fix POPCNT check
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Aug 11, 2020
1 parent c91951e commit c49987e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libpopcnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,8 @@ static inline uint64_t popcnt(const void* data, uint64_t size)
}
#endif

#if defined(HAVE_POPCNT) && \
!defined(__POPCNT__)
#if !defined(HAVE_POPCNT) || \
!defined(__POPCNT__)
/*
* Pure integer popcount algorithm.
* We use unaligned memory accesses here to improve performance.
Expand Down

0 comments on commit c49987e

Please sign in to comment.