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).
Published: 2026-11-12
URL: https://www.computerenhance.com/p/simd-gather

This is the twenty-third video in Part 5 of the Performance-Aware Programming series. Please see the Table of Contents to quickly navigate through the rest of the course as it is updated, and the code repository for downloadable code listings.