Module bmi
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_u64
Bitwise logical
ANDof invertedawithb. -
_bextr2_u64
Extracts bits of
aspecified bycontrolinto the least significant bits of the result. -
_bextr_u64
Extracts bits in range [
start,start+length) fromainto the least significant bits of the result. - _blsi_u64 Extracts lowest set isolated bit.
- _blsmsk_u64 Gets mask up to lowest set bit.
-
_blsr_u64
Resets the lowest set bit of
x. - _mm_tzcnt_64 Counts the number of trailing least significant zero bits.
- _tzcnt_u64 Counts the number of trailing least significant zero bits.
- x86_bmi_bextr_64