Hacker News new | ask | show | jobs
by fsflyer 1418 days ago
There are a number of university courses with slides on SIMD basics. I'm not aware of any tutorials with exercises. Given that SIMD and GPU programming can be similar, you can probably repurpose some GPU exercises.

The ISPC compiler[0] generates SIMD code from a C variant. The Godbolt compiler explorer[1] supports ISPC, so you can play with it in your browser. It allows you to see the disassembled compiler output in the web browser.

[0] https://ispc.github.io/index.html

[1] https://godbolt.org