Merge pull request #25069 from asmorkalov:as/disable_win_arm64_fp16

Disable fp16 instructions detection on Windows ARM64 because of build issues
This commit is contained in:
Alexander Smorkalov 2024-02-28 10:06:33 +03:00 committed by GitHub
commit 8f83540018
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,8 @@ int test()
_mm_storel_epi64((__m128i*)dst, v_dst); _mm_storel_epi64((__m128i*)dst, v_dst);
return (int)dst[0]; return (int)dst[0];
} }
#elif (defined __GNUC__ && (defined __arm__ || defined __aarch64__)) || (defined _MSC_VER && defined _M_ARM64) #elif (defined __GNUC__ && (defined __arm__ || defined __aarch64__)) /*|| (defined _MSC_VER && defined _M_ARM64)*/
// Windows + ARM64 case disabled: https://github.com/opencv/opencv/issues/25052
#include "arm_neon.h" #include "arm_neon.h"
int test() int test()
{ {