pub enum SimdPath {
Auto,
Scalar,
Ssse3,
Avx2,
Avx2Gfni,
Avx512Gfni,
Avx512Shuffle,
Neon,
}Expand description
Multiplication backend for the Reed-Solomon encoder.
Variants§
Auto
Auto-detect the fastest supported path for the current CPU.
Scalar
Pure Rust scalar implementation (no SIMD).
Ssse3
Intel/AMD SSSE3 (128-bit shuffles).
Avx2
Intel/AMD AVX2 (256-bit shuffles).
Avx2Gfni
Intel Ice Lake+ / Sapphire Rapids+ AVX2 with GFNI.
Avx512Gfni
Intel Ice Lake+ / Sapphire Rapids+ AVX-512 with GFNI.
Avx512Shuffle
AVX-512 VL/BW nibble shuffle (no GFNI — Skylake-X / Cascade Lake).
Neon
ARM NEON (AArch64 128-bit shuffles).
Trait Implementations§
impl Copy for SimdPath
impl Eq for SimdPath
impl StructuralPartialEq for SimdPath
Auto Trait Implementations§
impl Freeze for SimdPath
impl RefUnwindSafe for SimdPath
impl Send for SimdPath
impl Sync for SimdPath
impl Unpin for SimdPath
impl UnsafeUnpin for SimdPath
impl UnwindSafe for SimdPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more