Benchmarking division and libdivide on Apple M1 and Intel AVX512
ridiculousfish.comlibdivide is fish’s library for speeding up integer division by runtime constants. It works by replacing divide instructions with cheaper multiplications and shifts. libdivide supports SIMD, and recently gained support for AVX-512 and ARM NEON. Let’s benchmark on an Intel … Read more