mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +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
|
||||
|
||||
#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>
|
||||
# define CV_NEON 1
|
||||
# define CPU_HAS_NEON_FEATURE (true)
|
||||
|
@ -43,8 +43,12 @@ typedef unsigned __int64 uint64_t;
|
||||
|
||||
#include "defines.h"
|
||||
|
||||
#if (defined WIN32 || defined _WIN32) && defined(_M_ARM)
|
||||
# include <Intrin.h>
|
||||
#endif
|
||||
|
||||
#ifdef __ARM_NEON__
|
||||
#include "arm_neon.h"
|
||||
# include "arm_neon.h"
|
||||
#endif
|
||||
|
||||
namespace cvflann
|
||||
|
Loading…
Reference in New Issue
Block a user