1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

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_
This commit is contained in:
Hugo Lindström
2019-08-09 17:01:37 +02:00
committed by Alexander Alekhin
parent d513fb4c8e
commit 935067ee05
+3 -1
View File
@@ -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