Enable NEON optimization for cvRound on newer devices

This commit is contained in:
manuele 2015-06-18 11:19:46 +02:00
parent 424c2bddb3
commit a55a8c9aa5

View File

@ -179,7 +179,7 @@
# define CV_NEON 1
#endif
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__)
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__ || defined __ARM_NEON__) && !defined __SOFTFP__
# define CV_VFP 1
#endif