# Learn SVE and SME programming with SIMD Loops

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/cross-platform/simd-loops/)
- [About Single Instruction, Multiple Data loops](https://learn.arm.com/learning-paths/cross-platform/simd-loops/1-about/)
- [Using SIMD Loops](https://learn.arm.com/learning-paths/cross-platform/simd-loops/2-using/)
- [Code example](https://learn.arm.com/learning-paths/cross-platform/simd-loops/3-example/)
- [Learning with SIMD Loops](https://learn.arm.com/learning-paths/cross-platform/simd-loops/4-conclusion/)
- [Next Steps](https://learn.arm.com/learning-paths/cross-platform/simd-loops/_next-steps/)

## About this Learning Path

|              |                         |
|--------------|-------------------------|
| Skill level: | Advanced                |
| Reading time:| 30 min                  |
| Last updated:| 25 Sep 2026             |

### Authors:
- Alejandro Martinez Vicente, Arm
- Mohamad Najem, Arm

### Arm IP:
- [Neoverse](https://support.arm.com/?tab=compute-ip&Product%20Type=Infrastructure%20Processors)
- [Cortex-A](https://support.arm.com/?tab=compute-ip&Product%20Type=Application%20Processors)

### Tags:
- [Performance and Architecture](https://learn.arm.com/tag/performance-and-architecture/)
- [Arm AGI CPU](https://learn.arm.com/tag/arm-agi-cpu)
- [Linux](https://learn.arm.com/tag/linux)
- [macOS](https://learn.arm.com/tag/macos)
- [C](https://learn.arm.com/tag/c)
- [CPP](https://learn.arm.com/tag/cpp)
- [GCC](https://learn.arm.com/tag/gcc)
- [Clang](https://learn.arm.com/tag/clang)
- [SME2](https://learn.arm.com/tag/sme2)

### Who is this for?
This is an advanced topic for software developers who want to learn how to use the full range of features available in SVE, SVE2, and SME2 to improve software performance on Arm processors.

### What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Improve SIMD code performance using Scalable Vector Extension (SVE) and Scalable Matrix Extension (SME)
- Describe what SIMD Loops contains and how kernels are organized across scalar, Neon, SVE, SVE2, and SME2 variants
- Build and run a selected kernel with the provided runner and validate correctness against the C reference
- Choose the appropriate build target to compare Neon, SVE/SVE2, and SME2 implementations

### Prerequisites
Before starting, you'll need the following prerequisites:
- An AArch64 computer running Linux or macOS. You can use Arm-based cloud instances (link) or an Arm AGI CPU platform.
- Some familiarity with SIMD programming and Neon intrinsics
- Recent toolchains that support SVE and SME (GCC 13+ or Clang 16+ recommended)

### Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

You’ll use the SIMD Loops project to explore Arm Neon, SVE and SVE2, and SME2 kernels. First, you’ll clone the repository, verify the Arm environment, and inspect `loops.inc`. You’ll study loop 202 and `matmul_fp32` across scalar, Neon, SVE and SVE2, and SME2 variants. Then, you’ll build selected kernels, compare them with the C reference, and examine predication, vector-length-agnostic programming, gather/scatter, streaming mode, and ZA tiles.
