FRIDAY, NOVEMBER 20, 2026
aarch64 Performance Win
AArch64 tuning model aligns function/loop alignment to 32 bytes
AArch64 tuning for hip12 updated to 32-byte function and loop alignment, yielding a modest performance improvement.
The hip12 tuning model for AArch64 now defaults function and loop alignment to 32 bytes, aligning with recommendations from SWOG. This change resulted in approximately 0.4% performance improvement on SPEC benchmarks and also helps reduce measurement noise.
In Details
The hip12.h tuning model in the AArch64 configuration now sets function_align and loop_align to 32. This deviates from the inherited tsv110 values and aligns with SWOG recommendations. The change aims to improve performance and measurement stability for AArch64 targets.
For Context
- AArch64
- The 64-bit ARM architecture, which includes advanced SIMD (Advanced SIMD) and Scalable Vector Extension (SVE) instruction sets that support vector processing.
- function alignment
- Ensuring that the entry point of a function in the generated machine code is aligned to a specific byte boundary. This can improve performance by ensuring the instruction fetch starts on an optimal boundary.
- loop alignment
- Aligning the beginning of a loop to a specific byte boundary. Similar to function alignment, this can optimize instruction fetching and branching performance within loops.
- SPEC
- Standard Performance Evaluation Corporation. A consortium that develops and maintains benchmark suites used to evaluate the performance of computer systems.