add initial ppc64el support

(cherry picked from commit 63e26a4b28)
(cherry picked from commit c214ba253327114c16d0724f75c998ab00d44919)
This commit is contained in:
Konstantinos Margaritis
2021-01-26 00:44:38 +02:00
committed by apostolos
parent 9f7b2fa8a8
commit 14be68587b
13 changed files with 787 additions and 14 deletions

View File

@@ -49,6 +49,10 @@
# define USE_ARM_NEON_H
#endif
#if defined(HAVE_C_PPC64EL_ALTIVEC_H)
# define USE_PPC64EL_ALTIVEC_H
#endif
#ifdef __cplusplus
# if defined(HAVE_CXX_INTRIN_H)
# define USE_INTRIN_H
@@ -68,6 +72,8 @@
# if defined(HAVE_SVE)
# include <arm_sve.h>
# endif
#elif defined(USE_PPC64EL_ALTIVEC_H)
#include <altivec.h>
#else
#error no intrinsics file
#endif