Crate bitintr [−] [src]
Portable Bit Manipulation Intrinsics
Portable implementation of bitwise manipulation instructions. The intrinsics are:
- named after the corresponding CPU instruction,
- organized in instruction set modules:
bitintr::{instruction_set}::{intrinsic_name}
, and - implemented for all integer types, with software fallback depending on the integer type and the instruction sets supported by the target.
Modules
abm |
Advanced Bit Manipulation (ABM) instruction set. |
bmi |
Bit Manipulation Instruction (BMI) Set 1.0. |
bmi2 |
Bit Manipulation Instruction (BMI) Set 2.0. |
tbm |
Trailing Bit Manipulation (TBM) instruction set. |
Traits
Int |