diff options
| author | Victor Stinner <vstinner@python.org> | 2020-06-08 16:30:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-08 16:30:33 +0200 |
| commit | c6b292cdeee689f0bfac6c1e2c2d4e4e01fa8d9e (patch) | |
| tree | 4a7686465f3ed4a171382d4717ad558d82413951 /Makefile.pre.in | |
| parent | 301f0d4ff9b6bd60599eea0612904f65a92e6dd9 (diff) | |
| download | cpython-git-c6b292cdeee689f0bfac6c1e2c2d4e4e01fa8d9e.tar.gz | |
bpo-29882: Add _Py_popcount32() function (GH-20518)
* Rename pycore_byteswap.h to pycore_bitutils.h.
* Move popcount_digit() to pycore_bitutils.h as _Py_popcount32().
* _Py_popcount32() uses GCC and clang builtin function if available.
* Add unit tests to _Py_popcount32().
Diffstat (limited to 'Makefile.pre.in')
| -rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 5a18704e44..b115e7fc01 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1121,7 +1121,7 @@ PYTHON_HEADERS= \ $(srcdir)/Include/internal/pycore_abstract.h \ $(srcdir)/Include/internal/pycore_accu.h \ $(srcdir)/Include/internal/pycore_atomic.h \ - $(srcdir)/Include/internal/pycore_byteswap.h \ + $(srcdir)/Include/internal/pycore_bitutils.h \ $(srcdir)/Include/internal/pycore_bytes_methods.h \ $(srcdir)/Include/internal/pycore_call.h \ $(srcdir)/Include/internal/pycore_ceval.h \ |
