core
1.84.0-nightly
(2f274eabd 2024-11-22) (Ferrocene by Ferrous Systems)
In core::
arch::
x86_
64
core
::
arch
::
x86_64
Function
_popcnt64
Copy item path
1.27.0
·
Source
pub unsafe fn _popcnt64(x:
i64
) ->
i32
Available on
x86-64 and target feature
popcnt
only.
Expand description
Counts the bits that are set.
Intel’s documentation