THURSDAY, NOVEMBER 5, 2026
aarch64
aarch64: Port NEON shift and insert intrinsics to pragma framework
Integrates NEON shift and insert intrinsics into GCC's pragma-based framework.
This commit ports NEON shift and insert intrinsics, including vsli_n, vsri_n, vslid_n, and vsrid_n, to the pragma-based framework on the aarch64 architecture. This unification streamlines the implementation of these SIMD operations within GCC.
In Details
Integrates NEON shift and insert intrinsics (vsli_n, vsri_n, vslid_n, vsrid_n and their variants) into the pragma-based framework for aarch64. This involves defining new base functions in aarch64-neon-builtins-base.cc, updating .def files, and cleaning up old type definitions and intrinsic declarations from arm_neon.h.
For Context
- NEON
- ARM's Advanced SIMD extension, providing hardware acceleration for vector processing tasks.
- aarch64
- The 64-bit execution state of the ARMv8-A architecture and later. It is the architecture for modern 64-bit ARM processors.
- pragma-based framework
- A system within the compiler that uses pragmas (compiler directives) to manage and define intrinsic functions, often for SIMD or specialized hardware instructions, allowing for a more structured and maintainable implementation.
- SIMD
- Single Instruction, Multiple Data. A class of parallel computers in Flynn's taxonomy that performs the same operation on multiple data points simultaneously.
- intrinsics
- Functions that provide a way to access specific hardware instructions or features from high-level programming languages, often for performance-critical operations like SIMD.
- shift and insert
- A type of SIMD operation that performs a bitwise shift on vector elements and then inserts the shifted bits into another vector, often used for bit manipulation and data reordering.