Module core::core_arch::x86::tbm

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

Trailing Bit Manipulation (TBM) instruction set.

The reference is AMD64 Architecture Programmer’s Manual, Volume 3: General-Purpose and System Instructions.

Wikipedia provides a quick overview of the available instructions.

Functions

  • Clears all bits below the least significant zero bit of x.
  • Clears all bits below the least significant zero bit of x.
  • _blci_u32tbm
    Sets all bits of x to 1 except for the least significant zero bit.
  • _blci_u64tbm
    Sets all bits of x to 1 except for the least significant zero bit.
  • Sets the least significant zero bit of x and clears all other bits.
  • Sets the least significant zero bit of x and clears all other bits.
  • Sets the least significant zero bit of x and clears all bits above that bit.
  • Sets the least significant zero bit of x and clears all bits above that bit.
  • _blcs_u32tbm
    Sets the least significant zero bit of x.
  • _blcs_u64tbm
    Sets the least significant zero bit of x.
  • Sets all bits of x below the least significant one.
  • Sets all bits of x below the least significant one.
  • Clears least significant bit and sets all other bits.
  • Clears least significant bit and sets all other bits.
  • Clears all bits below the least significant zero of x and sets all other bits.
  • Clears all bits below the least significant zero of x and sets all other bits.
  • Sets all bits below the least significant one of x and clears all other bits.
  • Sets all bits below the least significant one of x and clears all other bits.