Module core::core_arch::x86::abm

source ·
🔬This is a nightly-only experimental API. (stdsimd #48556)
Available on x86 or 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_u32lzcnt
    Counts the leading most significant zero bits.
  • _popcnt32popcnt
    Counts the bits that are set.