Skip to content

primesieve-12.15

Latest

Choose a tag to compare

@kimwalisch kimwalisch released this 17 Jul 12:46

This is a bugfix release, it is fully backwards compatible with the previous release.

ChangeLog

  • Fix LLVM/Clang -Wunused-template warning.
  • CpuInfo.cpp: Use primesieve::Vector instead of std::vector.
  • macros.hpp: Add INDETERMINATE macro to prevent memset zero initialization of large stack arrays.
  • nthPrime.cpp: Fix undefined behavior.
  • util.hpp: Fix undefined behavior in littleendian_cast<T>().
  • PrimeGenerator_x86_avx512.hpp: Fix undefined behavior.
  • CountPrintPrimes.cpp: Fix undefined behavior.
  • popcount.hpp: Fix undefined behavior.
  • PreSieve_arm_sve.hpp: Improve ARM SVE runtime dispatch.
  • multiarch_sve_arm.cmake: Improve ARM SVE runtime dispatch.
  • CMakeLists.txt: Disable building the shared libprimesieve on Emscripten (WebAssembly) so that the primesieve binary is linked statically. Emscripten now builds shared libraries as side modules, which broke static linking of the binary and the WebAssembly CI build.