eight_bytes 0.2.0

SIMD-like (SWAR) operations on vectors of eight bytes without using native SIMD instructions.
Documentation
//! Implements "SIMD-like" operations over vectors of eight `u8` values
//! represented internally as single `u64` values, using bit-fidding tricks
//! to perform the same operation on all eight bytes at once.
//!
//! These techniques are sometimes described as _[SWAR](https://en.m.wikipedia.org/wiki/SWAR)_ (SIMD within a register).
//! However, that term can also sometimes refer to the use of a CPU
//! architecture's specialized SIMD instructions.
//!
//! The API is designed to loosely follow the conventions of the Rust standard
//! library's portable SIMD module, but only to a limited extent. There is no
//! explicit interop between the two.
//!
//! This library is `no_std`-compatible and intended for CPU architectures that
//! can perform arithmetic operations efficiently on 64-bit values.
#![cfg_attr(not(test), no_std)]

#[path = "mask8x8.rs"]
mod maskmod;
#[path = "u8x8.rs"]
mod vecmod;

pub use maskmod::*;
pub use vecmod::*;

#[cfg(test)]
mod u8x8_tests;

#[cfg(test)]
mod mask8x8_tests;