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:
Konstantinos Margaritis
2020-10-06 12:44:23 +03:00
parent b1170bcc2e
commit 5952c64066
5 changed files with 57 additions and 22 deletions

View File

@@ -15,6 +15,12 @@
/* "Define if building for EM64T" */
#cmakedefine ARCH_X86_64
/* "Define if building for ARM32" */
#cmakedefine ARCH_ARM32
/* "Define if building for AARCH64" */
#cmakedefine ARCH_AARCH64
/* internal build, switch on dump support. */
#cmakedefine DUMP_SUPPORT
@@ -45,6 +51,9 @@
/* C compiler has intrin.h */
#cmakedefine HAVE_C_INTRIN_H
/* C compiler has arm_neon.h */
#cmakedefine HAVE_C_ARM_NEON_H
/* Define to 1 if you have the declaration of `pthread_setaffinity_np', and to
0 if you don't. */
#cmakedefine HAVE_DECL_PTHREAD_SETAFFINITY_NP