Topics / SIMD vectorization
Performance topic
SIMD vectorization
Process 4, 8, 16 or 32 values per instruction with SSE, AVX2, AVX-512, NEON or SVE. The wins come from data layout as much as from intrinsics: aligned, contiguous lanes, masks instead of branches, and wide loads.
Examples from real commits
Languages
- C++2,033
- C1,191
- Rust423
- CUDA107
- C#76
- Python46
Hardware
- x862,764
- ARM855
- CPU575
- NVIDIA GPU160
- GPU65
Fields
- data & compression1,008
- math908
- general852
- graphics644
- CPU598
Where these come from
Repositories with the most techniques on this topic in the database:
opencv/opencv · 40FFmpeg/FFmpeg · 36gnuradio/volk · 33Cykooz/fast_image_resize · 31google/skia · 31juj/MathGeoLib · 29simd-everywhere/simde · 27Plonky3/Plonky3 · 26mirror/x264 · 26mozilla/aom · 26
Ask Claude for the full answer
Each technique comes with its bottleneck, measured speedup, trade-offs, conditions and the commit or paper behind it, served to Claude through MCP.
claude mcp add --transport http adtomic https://www.adtomic.co/mcp
Related topics
Better algorithmsPrecomputation and memoizationAvoiding allocationsEarly exit and pruningBit tricks and strength reduction