Portable and versatile SIMD.
This crate defines SIMD facilities thay may be used on any given platform in any way that ordinary arithmetic primitives are used.
SIMD vectors are predefined for all arithmetic primitives up to a maximum, total size of 512 bits; for example:
- The largest SIMD vector for [
u8] is [u8x64], - The largest SIMD vector for [
u16] is [u16x32], - The largest SIMD vector for [
u64] is [u64x8], - Etc.
All vector types have the largest possible align requirement that does not introduce padding, e.g. [f32x6] must be 64-bit-aligned and [f32x4] must be 128-bit-aligned.