core
1.84.0-beta.4
(202008a1b 2024-12-07)
In core::
arch::
x86
core
::
arch
::
x86
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
only.
Expand description
Counts the bits that are set.
Intel’s documentation