primesieve-7.7
This is a new minor release, the API and ABI of libprimesieve are backwards compatible.
The CPU cache size detection has been improved on big.LITTLE CPUs such as Intel Alder Lake. The code now also handles uncertain situations better when CPU cache information is only partially available, it then uses a more conservative approach (i.e. smaller sieve array size) to prevent potential scaling issues.
Backwards incompatible change in primesieve command-line application
The behavior of the -q/--quiet
option in the primesieve command-line application has been modified. This option now prints the result without any additional text, e.g. "1229" instead of previously "Primes: 1229". This is a backwards incompatible change in the primesieve command-line application, however I didn't increase primesieve's major version since this change does not affect libprimesieve's API/ABI.
ChangeLog
CpuInfo.cpp
: Fix issues with big.LITTLE CPUs #105.api.cpp
: Simplify private L2 cache size detection #103.config.cpp
: Add fallback sieve size & L1 data cache size.Erat.cpp
: If runtime CPU cache detection fails useconfig::L1D_CACHE_BYTES
.main.cpp
: Improve-q/--quiet
option #102.api-c.cpp
: Print error messages to stderr.iterator-c.cpp
: Print error messages to stderr.doc/primesieve.1
: Update man page.CMakeLists.txt
: AddWITH_MSVC_CRT_STATIC
option to force static linking.C_Examples.md
: Add CMake build instructions.CPP_Examples.md
: Add CMake build instructions.