Skip to main content

Module simd

Module simd 

Source
Expand description

§SIMD Popcount Dispatch

Runtime CPU-feature dispatch for packed-bit popcount kernels. Supported backends: AVX-512, AVX2, ARM NEON, ARM SVE, RISC-V RVV.

Modules§

avx2
avx512
neon
rvv
Scalar fallback for RISC-V Vector (RVV) targets. Hardware RVV intrinsics are not yet implemented; all operations use the portable scalar path from super::mod.rs.
sve
Scalar fallback for ARM SVE targets. Hardware SVE intrinsics are not yet implemented; all operations use the portable scalar path from super::mod.rs.

Functions§

dot_f64_dispatch
Dot product of two f64 slices using the best available SIMD path.
encode_and_popcount_dispatch
Fused encode+AND+popcount dispatch.
fused_and_popcount_dispatch
Fused AND+popcount dispatch using the best available SIMD path.
fused_xor_popcount_dispatch
Fused XOR+popcount dispatch using the best available SIMD path.
hamming_distance_dispatch
Hamming distance between two packed bitstream slices.
max_f64_dispatch
Maximum of f64 slice using the best available SIMD path.
pack_dispatch
Pack u8 bits into u64 words using the best available SIMD path.
popcount_dispatch
Count set bits in packed u64 words using the best available SIMD path.
scale_f64_dispatch
Scale f64 slice in-place: y[i] *= alpha, using the best available SIMD path.
softmax_inplace_f64_dispatch
In-place softmax over an f64 slice (numerically stable).
sum_f64_dispatch
Sum of f64 slice using the best available SIMD path.