Compare commits
60 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 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 | ||
| a2c083568e | |||
|
|
83156472ef | ||
|
|
107ba6e9dd | ||
|
|
3926bea489 | ||
|
|
1505317f28 | ||
|
|
df5d2068bf | ||
|
|
34257fd028 | ||
|
|
29fa52124a | ||
| f6ac79ab02 | |||
|
|
93799812ef | ||
|
|
d77729b804 | ||
|
|
6e0a193527 | ||
|
|
408bb5a4fb | ||
| 6ddc98a19e | |||
|
|
a33bac95ce | ||
|
|
40f99c1ca2 | ||
|
|
efb51f37d2 | ||
|
|
f894ae9bc3 | ||
|
|
28092704e3 | ||
|
|
ddb3875eaf | ||
|
|
406ce2ee5c | ||
|
|
72cd52de0e | ||
| 5ff2f8ea5c | |||
|
|
f768aa010a | ||
|
|
a5c9fc1816 | ||
|
|
6994262b17 | ||
|
|
795b0a0453 | ||
| e25f7c37a3 | |||
|
|
9b4f3665b1 | ||
|
|
656002316e | ||
|
|
d15ca3bb92 | ||
|
|
a1474b4db9 | ||
|
|
b4e6d03007 | ||
|
|
53f77a6e74 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d867ac18cc52c0f7014682169988a76f39e4cd56f8ce78fb56e064499b1d66bb
|
||||
size 437328
|
||||
3
primecount-8.0.tar.gz
Normal file
3
primecount-8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0265081f45fc938a892a1fd975edb4ff2c097359fc2bfeb739be3d7a759cd36c
|
||||
size 1207003
|
||||
@@ -1,3 +1,102 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to primecount-7.19 (API & ABI are backwards compatible).
|
||||
- nth_prime.cpp: Add 128-bit nth_prime function.
|
||||
- nth_prime_sieve.hpp: New sieving algo for nth_prime(n).
|
||||
- primecount.h: Improved 128-bit C API using portable pc_int128_t struct.
|
||||
- primecount.hpp: Improved 128-bit C++ API using portable pc_int128_t struct.
|
||||
- libprimecount.md: Add new 128-bit C/C++ API functions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 17 08:50:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
||||
|
||||
- Update to primecount-7.18 (API & ABI are backwards compatible).
|
||||
- Add CMake find_package(primecount) support.
|
||||
- libprimecount.md: Add CMake find_package(primecount) section.
|
||||
- PhiTiny.cpp: Reduce code bloat.
|
||||
- Move private header files from /include to /src.
|
||||
- src/CMakeLists.txt: Update for private header files in /src.
|
||||
- test/CMakeLists.txt: Update for private header files in /src.
|
||||
- Vector.hpp: Get rid of std::is_trivial which is deprecated in C++26.
|
||||
- Update to latest primesieve-12.9 library.
|
||||
- Update to latest libdivide-5.2.0 library.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 17:28:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
||||
|
||||
- Update to primecount-7.17 (API & ABI are backwards compatible).
|
||||
- Sieve_pre_sieve.hpp: Improved pre-sieving using primes ≤ 71.
|
||||
- Pre-sieving speeds up S2_hard and D algorithms by up to 5%.
|
||||
- README.md: Fix Markdown math formulas.
|
||||
- Hard-Special-Leaves.md: Fix Markdown math formulas.
|
||||
- Update to primesieve-12.8 library.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 02 15:36:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
||||
|
||||
- Update to primecount-7.16 (API & ABI are backwards compatible).
|
||||
- fast_div.hpp: Fix "Warning: mnemonic suffix used with `div'".
|
||||
- libdivide.h: Fix "Warning: mnemonic suffix used with `div'".
|
||||
- LoadBalancerS2.cpp: Tune load balancing.
|
||||
- LoadBalancerAC.cpp: Tune load balancing.
|
||||
- primecount-config.hpp: Update default CPU cache sizes.
|
||||
- Sieve.cpp: Improve count balancing.
|
||||
- Sieve.cpp: Add multiarch count methods.
|
||||
- Sieve.hpp: New multiarch count methods.
|
||||
- D.cpp: Runtime dispatching changes.
|
||||
- D_multiarch_avx512.cpp: New file.
|
||||
- D_multiarch_arm_sve.cpp: New file.
|
||||
- S2_hard.cpp: Runtime dispatching changes.
|
||||
- S2_hard_multiarch_avx512.cpp: New file.
|
||||
- S2_hard_multiarch_arm_sve.cpp: New file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 03 09:50:00 UTC 2025 - Kim Walisch <kim.walisch@gmail.com>
|
||||
|
||||
- Update to primecount-7.15 (API & ABI are backwards compatible).
|
||||
- Sieve.hpp: Improve ARM SVE bit counting algorithm.
|
||||
- multiarch_arm_sve.cmake: Improve ARM SVE detection.
|
||||
- src/arch/arm/sve.cpp: Detect ARM SVE instruction set.
|
||||
- Update to libprimesieve-12.7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 01 15:50:00 UTC 2024 - Kim Walisch <kim.walisch@gmail.com>
|
||||
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
|
||||
Name: primecount
|
||||
Version: 7.14
|
||||
Version: 8.0
|
||||
Release: 0
|
||||
Summary: Count the number of primes
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/kimwalisch/primecount
|
||||
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: gcc-c++
|
||||
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
|
||||
combinatorial prime counting algorithms.
|
||||
|
||||
%package -n libprimecount7
|
||||
%package -n libprimecount8
|
||||
Summary: C/C++ library for counting prime numbers
|
||||
|
||||
%description -n libprimecount7
|
||||
%description -n libprimecount8
|
||||
This package contains the shared runtime library for primecount.
|
||||
|
||||
%package -n libprimecount-devel
|
||||
Summary: Development files for the primecount library
|
||||
Requires: libprimecount7 = %{version}
|
||||
Requires: libprimecount8 = %{version}
|
||||
|
||||
%description -n libprimecount-devel
|
||||
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
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
%post -n libprimecount7 -p /sbin/ldconfig
|
||||
%postun -n libprimecount7 -p /sbin/ldconfig
|
||||
%post -n libprimecount8 -p /sbin/ldconfig
|
||||
%postun -n libprimecount8 -p /sbin/ldconfig
|
||||
|
||||
%check
|
||||
%ctest
|
||||
@@ -76,7 +76,7 @@ files for developing applications that use the primecount library.
|
||||
%{_bindir}/primecount
|
||||
%{_mandir}/man1/primecount.1%{?ext_man}
|
||||
|
||||
%files -n libprimecount7
|
||||
%files -n libprimecount8
|
||||
%license COPYING
|
||||
%{_libdir}/libprimecount.so.*
|
||||
|
||||
@@ -85,6 +85,8 @@ files for developing applications that use the primecount library.
|
||||
%{_libdir}/libprimecount.so
|
||||
%{_includedir}/primecount.h
|
||||
%{_includedir}/primecount.hpp
|
||||
%dir %{_libdir}/cmake/primecount
|
||||
%{_libdir}/cmake/primecount/*.cmake
|
||||
%{_libdir}/pkgconfig/primecount.pc
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user