mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 19:37:40 +00:00
Hamming Weight or "popcount" consists in counting the number of bits set to 1 in a particular word. This commit adds a macro to be able to use the existing builtin for this purpose with the GCC compiler. Change-Id: Iec64c19e897de2bc02e981071465bbe230ee9add Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no> |
||
---|---|---|
.known-issues | ||
arch | ||
boards | ||
doc | ||
drivers | ||
ext | ||
include | ||
kernel | ||
lib | ||
misc | ||
samples | ||
scripts | ||
subsys | ||
tests | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
defaults.tc | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
LICENSING.rst | ||
MAINTAINERS | ||
Makefile | ||
Makefile.inc | ||
release-notes.rst | ||
zephyr-env.sh |