Module core::core_arch::x86_64::bmi

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

Bit Manipulation Instruction (BMI) Set 1.0.

The reference is Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 2: Instruction Set Reference, A-Z.

Wikipedia provides a quick overview of the instructions available.

Functions

  • x86_bmi_bextr_64 🔒 Experimental
  • _andn_u64bmi1
    Bitwise logical AND of inverted a with b.
  • Extracts bits of a specified by control into the least significant bits of the result.
  • _bextr_u64bmi1
    Extracts bits in range [start, start + length) from a into the least significant bits of the result.
  • _blsi_u64bmi1
    Extracts lowest set isolated bit.
  • Gets mask up to lowest set bit.
  • _blsr_u64bmi1
    Resets the lowest set bit of x.
  • Counts the number of trailing least significant zero bits.
  • _tzcnt_u64bmi1
    Counts the number of trailing least significant zero bits.