GCC Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
aarch64 Performance Win

Add SVE2p3/SME2p3 pairwise intrinsics for ARM

New pairwise intrinsic operations svaddqp, svaddsubp, and svsubp are added for AArch64, supporting SVE2p3/SME2p3.

This commit introduces support for new pairwise intrinsic operations on the AArch64 architecture, specifically for SVE2p3 and SME2p3. The new intrinsics include svaddqp, svaddsubp, and svsubp, enhancing the vector processing capabilities for ARM processors. The changes involve defining and declaring these functions, updating machine descriptions, and adding a comprehensive set of new test cases.

In Details

The AArch64 backend in GCC now supports new pairwise vector intrinsics: svaddqp, svaddsubp, and svsubp. These are enabled under the TARGET_SVE2p3_OR_SME2p3 condition. The addition includes updates to built-in function definitions and declarations, modifications in the machine description files (.md), and the introduction of new unspec codes (UNSPEC_ADDQP, UNSPEC_ADDSUBP, UNSPEC_SUBP) to represent these operations. This expands the compiler's ability to generate code for advanced ARM Scalable Vector Extension features.

For Context
AArch64
The 64-bit ARM architecture.
SVE2p3
Scalable Vector Extension 2, plus profile 3, an advanced ARM instruction set for high-performance computing.
SME2p3
Scalable Matrix Extension 2, plus profile 3, an ARM instruction set for matrix operations.
pairwise intrinsic
A special function that maps directly to a machine instruction, often operating on pairs of vector elements or performing operations across vector lanes.
unspec
An internal representation in GCC's intermediate language (IRA) for operations that do not have a direct, generic instruction pattern.
Filed Under: aarch64ARMSVESMEintrinsics