mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
Add SVE, SVE2, and SVE2_BITPERM as targets
Change-Id: I5231e2eb0a31708a16c853dc83ea48db32e0b0a5
This commit is contained in:
committed by
Konstantinos Margaritis
parent
b6c3ab723b
commit
3ee7b75ee0
@@ -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
|
||||
|
Reference in New Issue
Block a user