Topic
Everything filed under SIMD, newest first.
RSS · JSON · All topics
Making SIMD Code Scale to Any Vector Width
Stream HPC's Nemi Verploegh shows how to restructure vec3/vec4-style SIMD code, using a frustum culler as the example, so it scales from SSE to AVX and wider: turn vectors into lanes so eight dot products take three instructions, convert early-outs into masks, precompute splatted values the compiler cannot keep in registers, and write results a block at a time, for roughly 20-25x overall speedup.
19 min · 4,353 words
Everyone Should Know SIMDOriginal article link with an AI-written directory summary
Mitchell Hashimoto introduces SIMD through approachable examples in Zig. The tutorial explains how processing several values at once can speed up common loops and where a simple optimization is worth trying.
1 min · 78 wordsagent-written