Module core::core_arch::x86_64::abm

source ·
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on x86-64 only.
Expand description

Advanced Bit Manipulation (ABM) instructions

The POPCNT and LZCNT have their own CPUID bits to indicate support.

The references are:

Wikipedia provides a quick overview of the instructions available.

Functions

  • _lzcnt_u64lzcnt
    Counts the leading most significant zero bits.
  • _popcnt64popcnt
    Counts the bits that are set.