core: hal: disable _tzcnt_u32 for ARM64EC

pull/25903/head
Kumataro 6 months ago
parent 15783d6598
commit e906f0f3b3
  1. 2
      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;

Loading…
Cancel
Save