From e906f0f3b343a1db6ec7f943389e4d5c2443e093 Mon Sep 17 00:00:00 2001 From: Kumataro Date: Sat, 13 Jul 2024 11:16:45 +0900 Subject: [PATCH] core: hal: disable _tzcnt_u32 for ARM64EC --- modules/core/include/opencv2/core/hal/intrin.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/include/opencv2/core/hal/intrin.hpp b/modules/core/include/opencv2/core/hal/intrin.hpp index 9a95b3a67b..a57eb5e799 100644 --- a/modules/core/include/opencv2/core/hal/intrin.hpp +++ b/modules/core/include/opencv2/core/hal/intrin.hpp @@ -64,7 +64,7 @@ namespace { inline unsigned int trailingZeros32(unsigned int value) { #if defined(_MSC_VER) -#if (_MSC_VER < 1700) || defined(_M_ARM) || defined(_M_ARM64) +#if (_MSC_VER < 1700) || defined(_M_ARM) || defined(_M_ARM64) || defined(_M_ARM64EC) unsigned long index = 0; _BitScanForward(&index, value); return (unsigned int)index;