Computer, Enhance!

SIMD Gather

Unfortunately, the “gather” path on x64 CPUs is rarely the best way to shuffle data. It’s still worth studying, however, since “gathering” is more common on other architectures (such as GPUs).

Read on Substack