What problem does it solve?
Writing SIMD assembly for the ESP32-S3's Processor Instruction Extensions (PIE) is error-prone: developers must manage 128-bit QR registers, forced memory alignment, SAR shift configuration, and accumulator semantics. This Skill provides a complete reference and conversion patterns to translate scalar C loops into correct, optimized PIE assembly.
Core Features & Use Cases
- Instruction Reference: Covers all EE.* instruction classes including vector arithmetic, multiply-accumulate (ACCX/QACC), comparison, bitwise, FFT, and unaligned load handling.
- C-to-SIMD Conversion Patterns: Provides ready-made templates for element-wise arithmetic, dot products, ReLU/PReLU activations, bias addition, and max pooling.
- Constraint Guidance: Documents alignment rules, register pressure limits (only q0-q7), zero-overhead loop constraints, and pipeline scheduling pitfalls.
- Use Case: When optimizing a quantized neural network kernel on ESP32-S3, use this Skill to rewrite an int16 dot-product loop with EE.VMULAS.S16.ACCX and correct accumulator extraction.
Quick Start
Ask the agent to convert a scalar C loop, such as an int16 element-wise add or dot product, into ESP32-S3 PIE SIMD assembly using this skill.