core
1.79.0-nightly
(88c2f4f5f 2024-04-02)
In core::arch::x86
?
Function
core
::
arch
::
x86
::
_popcnt32
1.27.0
·
source
·
[
−
]
pub unsafe fn _popcnt32(x:
i32
) ->
i32
Available on
(x86 or x86-64) and target feature
popcnt
and x86
only.
Expand description
Counts the bits that are set.
Intel’s documentation