1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#![cfg_attr(RUSTC_IS_NIGHTLY, feature(cfg_target_feature))] #![cfg_attr(RUSTC_IS_NIGHTLY, feature(platform_intrinsics))] #![cfg_attr(RUSTC_IS_NIGHTLY, feature(i128_type))] //! 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. mod int; mod x86; mod alg; pub use int::Int; pub mod abm; pub mod tbm; pub mod bmi; pub mod bmi2;