Merge pull request #15265 from hugolm84:wince-armv7-supports-neon

* WINCE 8.0 requires ARMv7 Thumb2 and thus have NEON instructions

* Only add NEON if on _ARM_
pull/15295/head^2
Hugo Lindström 5 years ago committed by Alexander Alekhin
parent d513fb4c8e
commit 935067ee05
  1. 4
      modules/core/src/system.cpp

@ -554,7 +554,9 @@ struct HWFeatures
have[CV_CPU_FP16] = true;
#endif
#endif
#if defined _ARM_ && (defined(_WIN32_WCE) && _WIN32_WCE >= 0x800)
have[CV_CPU_NEON] = true;
#endif
// there's no need to check VSX availability in runtime since it's always available on ppc64le CPUs
have[CV_CPU_VSX] = (CV_VSX);
// TODO: Check VSX3 availability in runtime for other platforms

Loading…
Cancel
Save