1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![feature(cfg_target_feature)]
#![feature(platform_intrinsics)]
#![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}`, 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 mod abm;
pub mod tbm;
pub mod bmi;
pub mod bmi2;