kimwalisch/primecount

Enable GCC/Clang function multiversioning for ARM SVE once the compilers support it

Closed this issue · 1 comments

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:

  1. Create multiarch_arm_sve.cmake CMake script similar to multiarch_avx512_vbmi2.cmake.
  2. Use multiarch_arm_sve.cmake in CMakeLists.txt.
  3. Add new ENABLE_MULTIARCH_ARM_SVE macro to all CMakeLists.txt files.
  4. Add new ENABLE_MULTIARCH_ARM_SVE macro to Sieve.hpp and Sieve_count.cpp.

Done.