Target ISA Capability & Hardware Support Guide¶
MIPP provides high-performance SIMD/vector abstractions across a broad spectrum of hardware instruction set architectures (ISAs).
Implementation Levels & Acceleration Legend¶
Every MIPP function is resolved against a 4-level hierarchy (details and examples in Implementation Levels):
| Badge | Implementation Level | Meaning |
|---|---|---|
| L0 | Level 0 (Native Hardware) | A single hardware instruction (vendor intrinsic) for this datatype and variant; the constants it uses do not count. |
| L1 | Level 1 (Dedicated Emulation) | A sequence of intrinsics written for this ISA, where no single instruction does the job. |
| L2 | Level 2 (Generic Emulation) | Generic code shared by the ISAs, built on other MIPP functions (in a few cases a loop over the lanes, or the identity). |
| L3 | Level 3 (Scalar Fallback) | The registers are copied to the scalar target, which computes the elements one by one. |
| − | N/A (Not Applicable) | Operation is not defined for this element datatype or masking variant. |
Universal Portability & Guaranteed Vectorization¶
- All Targets (Intersection Matrix): For each function and datatype, the worst level among all the supported target ISAs. A primitive shown at L0, L1 or L2 there has an implementation without the scalar fallback on x86, ARM and RISC-V alike, provided that the best compiler flags of each ISA are enabled (the tables show the best level when it depends on a flag, such as SSE4.1, AVX2 or AArch64); one at L3 falls back to scalar code on at least one target.
Architecture Capability Breakdowns¶
Explore hardware acceleration matrices by instruction set architecture:
x86 / x86-64 Architectures¶
- SSE (Streaming SIMD Extensions): 128-bit vector extensions (SSE2 through SSE4.2).
- AVX (Advanced Vector Extensions): 256-bit vector extensions (AVX, AVX2, FMA3).
- AVX-512: 512-bit vector extensions with native opmask registers (\(k_0-k_7\)).
ARM Architectures¶
- ARM NEON: 128-bit fixed-length vector processing for ARMv7 and ARMv8/AArch64.
- ARM SVE (Scalable Vector Extension): Variable-length vector architecture with native predicate registers (\(p_0-p_{15}\)).
RISC-V Architectures¶
- RISC-V Vector (RVV 1.0): Variable-length vector extension with dynamic register grouping (LMUL) and active masking (\(v_0\)).
Looking for a Specific Function?
If you want to check the status or prototypes for a particular operation (like add, mul, or select), browse the API Reference where every function page displays an interactive architecture matrix.