Guide agents through SIMD: reading auto-vectorization output, writing SSE2/AVX2/NEON intrinsics, runtime CPU feature detection, and choosing between compiler auto-vectorization and manual intrinsics.
| Loop-carried dependency | Restructure to remove dependency | | Data-dependent exit (early return) | Move exit after loop | | Non-contiguous memory | Use gather/scatter or restructure | | Aliasing (pointer may alias) | Add restrict or restrict | | Unknown trip count | Add builtinexpect or hint | | Function call in loop body | Inline the function |
For Intel Intrinsics Guide reference and NEON lookup tables, see references/intel-intrinsics-guide.md.
Habilidad intrínseca SIMD para vectorización x86 (SSE/AVX) y ARM (NEON). Úselo al leer informes de vectorización automática, escribir intrínsecos SSE2/AVX2/NEON, verificar indicadores de características de la CPU en tiempo de ejecución, elegir entre funciones integradas del compilador e intrínsecos sin formato o diagnosticar por qué falló la vectorización automática. Se activa ante consultas sobre SIMD, SSE2, AVX2, NEON, intrínsecos, -fopt-info-vec, autovectorización o fallas de vectorización. Fuente: mohitmishra786/low-level-dev-skills.