pub fn grad_dot_simd<const N: usize>(
hashes: [usize; N],
x: Simd<f32, N>,
y: Simd<f32, N>,
z: Simd<f32, N>,
) -> Simd<f32, N>Expand description
f32 N-lane gradient dot product.
AVX-512 builds evaluate Minecraft’s 16-entry GRADIENT table branchlessly
from the hash bits. Baseline builds assemble component vectors from the
table, which avoids expensive mask work on current non-AVX-512 targets.