From f174568d6cf6af964ffbe885f4f9d56d260d59c4 Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Thu, 27 Jun 2024 20:05:10 +0200 Subject: [PATCH] Add MSVC ARM NEON support --- libpopcnt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libpopcnt.h b/libpopcnt.h index 422566c..f349ef5 100644 --- a/libpopcnt.h +++ b/libpopcnt.h @@ -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() #include