Overview of SIMDeez
masterSIMDeez is a Rust library that abstracts over various SIMD instruction sets (SSE2, SSE41, AVX2, AVX-512, Neon, and WebAssembly SIMD). It allows developers to write a single SIMD function that can be dispatched either at compile time or automatically at runtime based on the host CPU's capabilities.
Key features include:
- Cross-platform abstraction: Supports x86, ARM (Neon), and WebAssembly.
- Zero runtime overhead: When using compile-time selection.
- Familiar Syntax: Uses Intel intrinsic naming conventions (e.g.,
add_ps(a, b)instead of_mm_add_ps(a, b)). - Robust Fallbacks: Automatically provides scalar code fallbacks for platforms without SIMD support or for unsupported instructions.
- Idiomatic Rust: Supports operator overloading (
va + vb) and index-based lane access (v[1]). #[no_std]support: Compatible with embedded or restricted environments.