Fast array reversal

Swapping all the bytes in the registers is a popular operation in networking called an endian swap and x86 happens to have just the instruction to do this! - Fast array reversal with SIMD!

caption

Written on November 21, 2021, Last update on May 13, 2022
avx vector bits array