Intro to SIMD in     by Niles Salter / @Validark Itinerary: Definitions: The basic idea add rdi, r8 add rsi, r9 add rdx, r10 add rcx, r11 vpaddq ymm0, ymm1, ymm0 Why this is helpful: Tutorial: 1. Setup Godbolt 2. Do stuff 3. Profit?? export fn columnCounts(chunk: @Vector(16, u8)) @Vector(16, u8) { ^~~~~~~^~~^~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~^~~~~ ~~~~~^~~^~~~~~~~~~~~~^~~~~~^~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~^~~~ ^~~~~~~^~~^~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~^~~~~ ~~~~~^~~^~~~~~~~~~~~~^~~~~~^~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~^~~~ ~~~~~^~~^~~~~~~~~~~~~^~~~~~^~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~^~~~ image/svg+xml VPMADDWD SRC 1 SRC 2 A0 A1 A2 . . . A31 512-bit 16-bit B0 B1 B2 . . . B31 * * * . . . * + + A3 B3 * + DEST . . . A0B0+A1B1 A2B2+A3B3 A30B30+A31B31 32-bit + A0 B0 * A1 B1 * A0B0+A1B1 fin