Enable GCC/Clang function multiversioning for ARM SVE once the compilers support it
Closed this issue · 1 comments
kimwalisch commented
We have ARM SVE support in Sieve_count.cpp
however by default it is not enabled since the GCC/Clang compilers do not support function multiversioning for ARM yet.
Once GCC/Clang compilers support it, I can enable it using:
- Create
multiarch_arm_sve.cmake
CMake script similar tomultiarch_avx512_vbmi2.cmake
. - Use
multiarch_arm_sve.cmake
inCMakeLists.txt
. - Add new
ENABLE_MULTIARCH_ARM_SVE
macro to allCMakeLists.txt
files. - Add new
ENABLE_MULTIARCH_ARM_SVE
macro toSieve.hpp
andSieve_count.cpp
.
kimwalisch commented
Done.