WEDNESDAY, JULY 29, 2026
aarch64
aarch64: Port vdiv intrinsics to pragma-based framework
AArch64 NEON's division (vdiv) intrinsics are now implemented using the pragma-based framework, with new tests added.
The vdiv family of NEON intrinsics for the AArch64 architecture has been ported to GCC’s pragma-based framework. This change standardizes their implementation and includes assembly tests for all variants. Corresponding function definitions in arm_neon.h have been removed.
In Details
This commit integrates the AArch64 NEON vdiv (vector division) intrinsics into the pragma-based framework. New function bases and declarations are added, and obsolete function definitions are removed from arm_neon.h. Assembly tests are included for each variant to ensure correct implementation.
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.