🔬This is a nightly-only experimental API. (
stdsimd #48556)Available on x86 or 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
- _andn_u32⚠
bmi1Bitwise logicalANDof invertedawithb. - _bextr2_u32⚠
bmi1Extracts bits ofaspecified bycontrolinto the least significant bits of the result. - _bextr_u32⚠
bmi1Extracts bits in range [start,start+length) fromainto the least significant bits of the result. - _blsi_u32⚠
bmi1Extracts lowest set isolated bit. - _blsmsk_u32⚠
bmi1Gets mask up to lowest set bit. - _blsr_u32⚠
bmi1Resets the lowest set bit ofx. - _mm_tzcnt_32⚠
bmi1Counts the number of trailing least significant zero bits. - _tzcnt_u32⚠
bmi1Counts the number of trailing least significant zero bits.