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

aarch64: Port vabd and vaba intrinsics to pragma-based framework

NEON's absolute difference (vabd) and absolute difference with accumulation (vaba) intrinsics are now implemented using the pragma-based framework, with new te…

The vabd and vaba families of NEON intrinsics for the AArch64 architecture have been ported to GCC’s pragma-based framework. This change standardizes their implementation and includes assembly tests for all variants. Consequently, several __builtin_aarch64_fabd and __builtin_aarch64_uabd built-in functions are now obsolete and have been removed.

In Details

This commit refactors the AArch64 NEON intrinsics for vabd (vector absolute difference) and vaba (vector absolute difference with accumulate) to use the pragma-based intrinsic framework. This involves defining new function bases and declarations in C++ files and .def files, while removing obsolete built-in function implementations from .h files. The goal is to unify intrinsic handling within GCC's internal representation.

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