3 ms·
If you can recompile but the code was written to only target AVX-512 you can use https://github.com/simd-everywhere/simde https://github.com/simd-everywhere/sim
by brutos 6y ago
If you can recompile but the code was written to only target AVX-512 you can use https://github.com/simd-everywhere/simde https://github.com/simd-everywhere/simde to near effortlessly map the intrinsics to AVX2 (or lower).