| Version | Change log |
| primesieve 12.11 Dec 16, 2025 |
Calculator.hpp: Update to version 2.0 with improved error handling. Test/calculator.cpp: Add much more tests for calculator.hpp. PreSieve.cpp: Simplify SIMD runtime dispatching. CountPrintPrimes.cpp: Faster printing of primes to stdout. CmdOptions.cpp: Prevent multiple different --print options. CMakeLists.txt: Set CMAKE_VISIBILITY_INLINES_HIDDEN=ON by default. BUILD.md: Update MSVC build instructions. |
| primesieve 12.10 Nov 5, 2025 |
Add workaround for Doxygen/LaTeX broken tables #170 src/MemoryPool.cpp: Fix undefined behavior in Bucket allocation. build_mingw64_arm64.sh: Enable ARM SVE for Mingw-w64 on ARM64. test/CMakeLists.txt: Improve Windows libprimesieve.dll support. examples/c/CMakeLists.txt: Improve Windows libprimesieve.dll support. examples/cpp/CMakeLists.txt: Improve Windows libprimesieve.dll support. ci.yml: Add WebAssembly/Emscripten test. BUILD.md: Add WebAssembly/Emscripten build instructions. |
| primesieve 12.7 Mar 3, 2025 |
This release adds ARM SVE runtime dispatching, it is enabled by default on Linux for ARM64 CPUs and it has also been implemented for Windows (but support in Microsoft's Windows.h is still missing). The C/C++ API and ABI of this release are fully backwards compatible with primesieve-12.* multiarch_sve_arm.cmake: Improve ARM SVE detection. src/arch/arm/sve.cpp: Detect ARM SVE on Linux and Windows. EratBig.cpp: Simplify bucket handling. Erat.cpp: Tune sieve size using FACTOR_SIEVESIZE. README.md: Add Sponsors section. |
| primesieve 12.6 Nov 18, 2024 |
PreSieve.cpp: Added AVX512 and ARM SVE pre-sieving, up to 3% faster. PreSieve.cpp: Increased pre-sieving to primes ≤ 163 (previously primes ≤ 100). Memory usage of pre-sieve lookup tables has been reduced from 210 kilobytes to 123 kilobytes and the pre-sieve lookup tables are now static (not generated at runtime anymore). CpuInfo.cpp: More robust CPU cache size detection. |
| primesieve 12.5 Oct 25, 2024 | ParallelSieve.cpp: Tune thread load balancing. |
| primesieve 12.3 Apr 18, 2024 |
Improve Windows multiarch support (now works with MinGW64). Add runtime POPCNT detection using CPUID for x86 CPUs. Improve GCC/Clang multiarch preprocessor logic. CMakeLists.txt: Remove POPCNT/BMI check for x86 CPUs. |
| primesieve 12.1 Mar 10, 2024 | |
| primesieve 12.3 Apr 18, 2024 |
Improve Windows multiarch support (now works with MinGW64). Add runtime POPCNT detection using CPUID for x86 CPUs. Improve GCC/Clang multiarch preprocessor logic. CMakeLists.txt: Remove POPCNT/BMI check for x86 CPUs. |
| primesieve 12.1 Mar 10, 2024 | |
| primesieve 11.2 Jan 10, 2024 |