GCC Newspaper
OCTOBER 6, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
aarch64

aarch64: Add --param=aarch64-autovec-mode

Introduces a new GCC parameter to manually control AArch64 autovectorization modes for testing.

A new GCC parameter, --param=aarch64-autovec-mode, has been added for the AArch64 target. This parameter allows developers to explicitly force specific autovectorization modes, which is particularly useful for testing and debugging autovectorization behavior on AArch64 architectures.

In Details

This commit introduces the aarch64-autovec-mode parameter, which allows overriding the default selection logic within aarch64_autovectorize_vector_modes. The parameter enables direct control over the vectorization modes used by the AArch64 backend, facilitating targeted testing and debugging of autovectorization features.

For Context
AArch64
The 64-bit ARM architecture. GCC supports generating code for this instruction set.
autovectorization
An automatic optimization process where a compiler transforms scalar code into vectorized code that operates on multiple data elements simultaneously using SIMD (Single Instruction, Multiple Data) instructions.
SIMD
Single Instruction, Multiple Data. A class of parallel computers in Flynn's taxonomy that perform the same operation on multiple data points simultaneously.
--param
A GCC command-line option used to set individual optimization parameters that control the behavior of various compiler passes.
Filed Under: aarch64autovectorizationtesting