mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
add necessary modifications to CMake system to enable building on ARM, add arm_neon.h intrinsic header to intrinsics.h
This commit is contained in:
@@ -45,6 +45,10 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_C_ARM_NEON_H)
|
||||
# define USE_ARM_NEON_H
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
# if defined(HAVE_CXX_INTRIN_H)
|
||||
# define USE_INTRIN_H
|
||||
@@ -59,6 +63,8 @@
|
||||
#include <x86intrin.h>
|
||||
#elif defined(USE_INTRIN_H)
|
||||
#include <intrin.h>
|
||||
#elif defined(USE_ARM_NEON_H)
|
||||
#include <arm_neon.h>
|
||||
#else
|
||||
#error no intrinsics file
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user