7 ms·
What's the best book folks recommend for learning SIMD programming?
by ndesaulniers 11y ago
What's the best book folks recommend for learning SIMD programming?
- matt_d 11y agoSome of the resources I've ran across (assuming x86 context): * Brief intros in Agner Fog's manuals: - Chapter 12, Using vector operations in http://www.agner.org/optimize/optimizing_cpp.pdf http://www.agner.org/optimize/optimizing_cpp.pdf - Chapter 13, Vector programming in http://www.agner.org/optimize/optimizing_assembly.pdf http://www.agner.org/optimize/optimizing_assembly.pdf * http://www.whatsacreel.net76.net/asmtutes.html http://www.whatsacreel.net76.net/asmtutes.html / https://www.youtube.com/playlist?list=PL0C5C980A28FEE68D https://www.youtube.com/playlist?list=PL0C5C980A28FEE68D * Kusswurm (2014) "Modern X86 Assembly Language Programming - 32-bit, 64-bit, SSE, and AVX" * Hughes (2015) "Single-Instruction Multiple-Data Execution" * The author's website :-) http://wm.ite.pl/articles/#assembler-x86-fpu-mmx-sse-sse2-sse3-ssse3-sse4-avx-avx2-avx512 http://wm.ite.pl/articles/#assembler-x86-fpu-mmx-sse-sse2-ss... References: * https://chessprogramming.wikispaces.com/x86-64 https://chessprogramming.wikispaces.com/x86-64 * https://software.intel.com/sites/landingpage/IntrinsicsGuide/ https://software.intel.com/sites/landingpage/IntrinsicsGuide... * x86 intrinsics cheat sheet (link at the very bottom): http://db.in.tum.de/~finis/ http://db.in.tum.de/~finis/