mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
NEON instruction set enabled for WIN32 on ARM by default.
This commit is contained in:
parent
ee8687ba19
commit
2243118fc0
@ -136,7 +136,13 @@ CV_INLINE IppiSize ippiSize(int width, int height)
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __ARM_NEON__
|
|
||||||
|
#if (defined WIN32 || defined _WIN32) && defined(_M_ARM)
|
||||||
|
# include <Intrin.h>
|
||||||
|
# include "arm_neon.h"
|
||||||
|
# define CV_NEON 1
|
||||||
|
# define CPU_HAS_NEON_FEATURE (true)
|
||||||
|
#elif defined(__ARM_NEON__)
|
||||||
# include <arm_neon.h>
|
# include <arm_neon.h>
|
||||||
# define CV_NEON 1
|
# define CV_NEON 1
|
||||||
# define CPU_HAS_NEON_FEATURE (true)
|
# define CPU_HAS_NEON_FEATURE (true)
|
||||||
|
@ -43,8 +43,12 @@ typedef unsigned __int64 uint64_t;
|
|||||||
|
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
|
||||||
|
#if (defined WIN32 || defined _WIN32) && defined(_M_ARM)
|
||||||
|
# include <Intrin.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __ARM_NEON__
|
#ifdef __ARM_NEON__
|
||||||
#include "arm_neon.h"
|
# include "arm_neon.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace cvflann
|
namespace cvflann
|
||||||
|
Loading…
Reference in New Issue
Block a user