Debian Codegraph @

sdk/cmake/vcpkg_overlay_ports/libdeflate/msvc_dotprod.patch

raw
1 diff --git a/lib/arm/cpu_features.h b/lib/arm/cpu_features.h
2 index dc9ab8a..89bff65 100644
3 --- a/lib/arm/cpu_features.h
4 +++ b/lib/arm/cpu_features.h
5 @@ -189,7 +189,7 @@ static inline u32 get_arm_cpu_features(void) { return 0; }
6 # define HAVE_DOTPROD(features) ((features) & ARM_CPU_FEATURE_DOTPROD)
7 #endif
8 #if defined(ARCH_ARM64) && HAVE_NEON_INTRIN && \
9 - (GCC_PREREQ(8, 1) || CLANG_PREREQ(7, 0, 10010000) || defined(_MSC_VER))
10 + (GCC_PREREQ(8, 1) || CLANG_PREREQ(7, 0, 10010000) || (defined(_MSC_VER) && _MSC_VER >= 1940))
11 # define HAVE_DOTPROD_INTRIN 1
12 /*
13 * Use an inline assembly fallback for clang 15 and earlier, which only