core
1.85.0-nightly
(bbcf1b0ca 2024-12-21) (Ferrocene by Ferrous Systems)
In core::
arch::
x86_
64
core
::
arch
::
x86_64
Function
_popcnt32
Copy item path
1.27.0
·
Source
pub unsafe fn _popcnt32(x:
i32
) ->
i32
Available on
(x86 or x86-64) and target feature
popcnt
and x86-64
only.
Expand description
Counts the bits that are set.
Intel’s documentation