forked from pool/primecount
Compare commits
31 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 430c6a832b | |||
|
|
0641741fbf | ||
|
|
29b9ee7d10 | ||
|
|
aacdaad758 | ||
|
|
9eb4abd650 | ||
| f582d17247 | |||
|
|
3fe9724011 | ||
|
|
aacab53a45 | ||
|
|
aaebbcb621 | ||
|
|
a23373cdf9 | ||
|
|
50921945d6 | ||
|
|
434063d89c | ||
|
|
4520235735 | ||
|
|
96130c360e | ||
|
|
f066060093 | ||
|
|
cccf15a826 | ||
|
|
ef2322770f | ||
|
|
7c72faa1b0 | ||
|
|
254dcf6b41 | ||
|
|
0ec97df602 | ||
|
|
656e8d5b94 | ||
|
|
4b2081e597 | ||
|
|
b4fb73f5c6 | ||
|
|
76b659878c | ||
|
|
6bb68fabf1 | ||
|
|
ed8ffb4938 | ||
| f5c07751d7 | |||
|
|
67373af25f | ||
|
|
21ab121755 | ||
|
|
473e254016 | ||
|
|
5e5caadb1d |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:25314c6296be96b66a71e8b88ea2622d3ea84d0129e4c30dc2b3c02ad890a1b7
|
|
||||||
size 535493
|
|
||||||
3
primecount-8.1.tar.gz
Normal file
3
primecount-8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:eda5d4b867ce95accfc74135f595a238fcd60f19cfc997f4950a5c74fbdd3ac1
|
||||||
|
size 1209814
|
||||||
@@ -1,3 +1,50 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 26 09:33:00 UTC 2026 - Kim Walisch <kim.walisch@gmail.com>
|
||||||
|
|
||||||
|
- Update to primecount-8.1.
|
||||||
|
- CMakeLists.txt: Fix CMAKE_PROJECT_VERSION not defined.
|
||||||
|
- AC.cpp: Up to 15% faster due to improved instruction level parallelism.
|
||||||
|
- S2_easy.cpp: Fix "#pragma omp master" deprecated in OpenMP 5.1.
|
||||||
|
- Sieve_count*.hpp: Improve GCC conditional move code gen.
|
||||||
|
- Automated building Windows binaries using GitHub Actions CI.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 14 09:53:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
||||||
|
|
||||||
|
- Update to primecount-8.0.
|
||||||
|
- api.cpp: Fix broken 128-bit nth prime function.
|
||||||
|
- util.cpp: Fix undefined behavior in to_string().
|
||||||
|
- calculator.hpp: Add code to detect integer overflows.
|
||||||
|
- LoadBalancerP2.cpp: Faster critical section.
|
||||||
|
- LoadBalancerS2.cpp: Faster critical section.
|
||||||
|
- LoadBalancerAC.cpp: Faster critical section.
|
||||||
|
- nth_prime.cpp: Improve status output.
|
||||||
|
- AC.cpp: Improved instruction level parallelism.
|
||||||
|
- AC_libdivide.cpp: Improved instruction level parallelism.
|
||||||
|
- D.cpp: Refactor runtime dispatch to optimized SIMD algorithm.
|
||||||
|
- S2_hard.cpp: Refactor runtime dispatch to optimized SIMD algorithm.
|
||||||
|
- pi_lmo_parallel.cpp: Add support for runtime dispatch to optimized SIMD algorithm.
|
||||||
|
- Move S2_easy_libdivide.cpp code into S2_easy.cpp.
|
||||||
|
- Move AC_libdivide.cpp code into AC.cpp.
|
||||||
|
- src/app/test.cpp: Speed up tests.
|
||||||
|
- CMakeLists.txt: Set CMAKE_VISIBILITY_INLINES_HIDDEN = ON by default.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 04 16:50:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
||||||
|
|
||||||
|
- Update to primecount-7.20 (API & ABI are backwards compatible).
|
||||||
|
- pi_gourdon.cpp: Quickly verify pi(x) results.
|
||||||
|
- pi_deleglise_rivat.cpp: Quickly verify pi(x) results.
|
||||||
|
- pi_lmo_parallel.cpp: Quickly verify pi(x) results.
|
||||||
|
- CmdOptions.cpp: Add --double-check option.
|
||||||
|
- build_mingw64_arm64.sh: Enable ARM SVE for Mingw-w64 on ARM64.
|
||||||
|
- doc/Easy-Special-Leaves.pdf: Converted Markdown to LaTeX.
|
||||||
|
- doc/Hard-Special-Leaves.pdf: Converted Markdown to LaTeX.
|
||||||
|
- doc/Partial-Sieve-Function.pdf: Converted Markdown to LaTeX.
|
||||||
|
- ci.yml: Add WebAssembly/Emscripten test.
|
||||||
|
- BUILD.md: Add WebAssembly/Emscripten build instructions.
|
||||||
|
- README.md: Updated Algorithms section.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 04 11:58:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
Wed Jun 04 11:58:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -17,14 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: primecount
|
Name: primecount
|
||||||
Version: 7.19
|
Version: 8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Count the number of primes
|
Summary: Count the number of primes
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://github.com/kimwalisch/primecount
|
URL: https://github.com/kimwalisch/primecount
|
||||||
Source0: https://github.com/kimwalisch/primecount/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/kimwalisch/primecount/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake >= 3.7
|
BuildRequires: cmake >= 3.9
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: asciidoc
|
BuildRequires: asciidoc
|
||||||
@@ -35,15 +35,15 @@ primecount is a command-line program that counts the primes below an
|
|||||||
integer x ≤ 10^31 using highly optimized implementations of the
|
integer x ≤ 10^31 using highly optimized implementations of the
|
||||||
combinatorial prime counting algorithms.
|
combinatorial prime counting algorithms.
|
||||||
|
|
||||||
%package -n libprimecount7
|
%package -n libprimecount8
|
||||||
Summary: C/C++ library for counting prime numbers
|
Summary: C/C++ library for counting prime numbers
|
||||||
|
|
||||||
%description -n libprimecount7
|
%description -n libprimecount8
|
||||||
This package contains the shared runtime library for primecount.
|
This package contains the shared runtime library for primecount.
|
||||||
|
|
||||||
%package -n libprimecount-devel
|
%package -n libprimecount-devel
|
||||||
Summary: Development files for the primecount library
|
Summary: Development files for the primecount library
|
||||||
Requires: libprimecount7 = %{version}
|
Requires: libprimecount8 = %{version}
|
||||||
|
|
||||||
%description -n libprimecount-devel
|
%description -n libprimecount-devel
|
||||||
This package contains the C/C++ header files and the configuration
|
This package contains the C/C++ header files and the configuration
|
||||||
@@ -65,8 +65,8 @@ files for developing applications that use the primecount library.
|
|||||||
%cmake_install
|
%cmake_install
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
%post -n libprimecount7 -p /sbin/ldconfig
|
%post -n libprimecount8 -p /sbin/ldconfig
|
||||||
%postun -n libprimecount7 -p /sbin/ldconfig
|
%postun -n libprimecount8 -p /sbin/ldconfig
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%ctest
|
%ctest
|
||||||
@@ -76,7 +76,7 @@ files for developing applications that use the primecount library.
|
|||||||
%{_bindir}/primecount
|
%{_bindir}/primecount
|
||||||
%{_mandir}/man1/primecount.1%{?ext_man}
|
%{_mandir}/man1/primecount.1%{?ext_man}
|
||||||
|
|
||||||
%files -n libprimecount7
|
%files -n libprimecount8
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libprimecount.so.*
|
%{_libdir}/libprimecount.so.*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user