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

aarch64: Port vabs intrinsics to pragma-based framework

AArch64 NEON's absolute value (vabs) intrinsics are now handled by the pragma-based framework, with related built-ins removed and tests updated.

The vabs family of NEON intrinsics for AArch64 has been ported to GCC’s pragma-based framework. This update standardizes the implementation and adds comprehensive assembly tests. As a result, the corresponding __builtin_aarch64_abs built-in functions are now obsolete and have been deleted.

In Details

This commit integrates the AArch64 NEON vabs (vector absolute value) intrinsics into the pragma-based framework. Obsolete built-in functions for abs are removed, and machine-dependent code in aarch64-simd.md is updated to use the new intrinsic representation. New function bases and declarations are added, and test cases are updated to reflect these changes, including adjustments for a codegen regression on vabs_s64.

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.
UB
Undefined Behavior. In programming, this refers to behavior that occurs when a program violates a computer language's specification, leading to unpredictable results.
Filed Under: aarch64neonintrinsics