fix cmake refactor for arm builds

This commit is contained in:
Konstantinos Margaritis
2023-10-09 10:03:53 +00:00
parent 981576a5fe
commit 4d539f2c87
3 changed files with 49 additions and 94 deletions

View File

@@ -41,5 +41,17 @@
#define VECTORSIZE 16
#endif
#if defined(__ARM_FEATURE_SVE)
#define HAVE_SVE
#endif
#if defined(__ARM_FEATURE_SVE2)
#define HAVE_SVE2
#endif
#if defined(__ARM_FEATURE_SVE2_BITPERM)
#define HAVE_SVE2_BITPERM
#endif
#endif // UTIL_ARCH_ARM_H_