Skip to content

Commit

Permalink
Add MSVC ARM NEON support
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Jun 27, 2024
1 parent f9d625b commit f174568
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libpopcnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,8 @@ static inline uint64_t popcnt(const void* data, uint64_t size)
}

#elif (defined(__ARM_NEON) || \
defined(__aarch64__)) && \
defined(__aarch64__) || \
defined(_M_ARM64)) && \
__has_include(<arm_neon.h>)

#include <arm_neon.h>
Expand Down

0 comments on commit f174568

Please sign in to comment.