8000 sys/bitfield: add bf_popcnt() by benpicco · Pull Request #18879 · RIOT-OS/RIOT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sys/bitfield: add bf_popcnt() #18879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 11, 2022
Merged

sys/bitfield: add bf_popcnt() #18879

merged 2 commits into from
Nov 11, 2022

Conversation

benpicco
Copy link
Contributor

Contribution description

Add a function to count the number of set bits in a bitfield.

Testing procedure

The tests-bitfield unit test was extended with a test for the new function.

Issues/PRs references

@benpicco benpicco requested a review from miri64 as a code owner November 10, 2022 22:53
@benpicco benpicco requested review from kfessel and maribu November 10, 2022 22:53
@github-actions github-actions bot added Area: sys Area: System Area: tests Area: tests and testing framework labels Nov 10, 2022
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Nov 10, 2022
@riot-ci
Copy link
riot-ci commented Nov 10, 2022

Murdock results

✔️ PASSED

867ba06 tests/unittests: add tests for bf_popcnt()

Success Failures Total Runtime
2002 0 2002 12m:17s

Artifacts

This only reflects a subset of all builds from https://ci-prod.riot-os.org. Please refer to https://ci.riot-os.org for a complete build for now.

@maribu maribu enabled auto-merge November 11, 2022 08:03
@maribu maribu merged commit bec46c5 into RIOT-OS:master Nov 11, 2022
@benpicco benpicco deleted the bf_popcnt branch November 11, 2022 11:56
@kaspar030 kaspar030 added this to the Release 2023.01 milestone Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0