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

aarch64: Port vsub intrinsics to pragma-based framework

AArch64 NEON's subtraction (vsub) intrinsics are now implemented using the pragma-based framework, with new tests and updated header files.

The vsub family of NEON intrinsics for AArch64 has been ported to GCC’s pragma-based framework, including the addition of assembly tests for all variants. This change standardizes the implementation and removes obsolete function definitions from arm_neon.h.

In Details

This commit integrates the AArch64 NEON vsub (vector subtract) intrinsics into the pragma-based framework. New function bases and declarations are created, and corresponding function definitions are removed from arm_neon.h. Assembly tests are added to verify the correctness of the implemented variants.

For Context
NEON intrinsics
Special functions provided by ARM's NEON SIMD (Single Instruction, Multiple Data) architecture that allow C/C++ code to directly manipulate vector registers and perform parallel operations.
pragma-based framework
An internal GCC mechanism for defining and handling intrinsics using pragmas, providing a more structured and unified way to integrate hardware-specific instructions into the compiler.
AArch64
The 64-bit ARM architecture, featuring a new instruction set and architectural enhancements over its 32-bit predecessors.
Filed Under: aarch64neonintrinsics