Add SVE, SVE2, and SVE2_BITPERM as targets

Change-Id: I5231e2eb0a31708a16c853dc83ea48db32e0b0a5
This commit is contained in:
George Wort
2021-05-17 17:13:14 +01:00
committed by Konstantinos Margaritis
parent b6c3ab723b
commit 3ee7b75ee0
5 changed files with 95 additions and 7 deletions

View File

@@ -47,6 +47,15 @@
#if defined(HAVE_C_ARM_NEON_H)
# define USE_ARM_NEON_H
# if defined(HAVE_C_ARM_SVE_H)
# define USE_ARM_SVE
# if defined(BUILD_SVE2)
# define USE_ARM_SVE2
# if defined(BUILD_SVE2_BITPERM)
# define USE_ARM_SVE2_BITPERM
# endif
# endif
# endif
#endif
#ifdef __cplusplus
@@ -65,6 +74,9 @@
#include <intrin.h>
#elif defined(USE_ARM_NEON_H)
#include <arm_neon.h>
# if defined(USE_ARM_SVE)
# include <arm_sve.h>
# endif
#else
#error no intrinsics file
#endif