THURSDAY, NOVEMBER 5, 2026
aarch64
aarch64: Port NEON widening shifts to pragma framework
Integrates NEON widening shift intrinsics into GCC's pragma-based framework.
This commit ports NEON widening shift intrinsics, specifically vshll_n and vshll_high_n, to GCC’s pragma-based framework on the aarch64 architecture. This change consolidates the handling of these SIMD operations within a unified system, improving maintainability and potentially enabling further optimizations.
In Details
Migrates vshll_n and vshll_high_n NEON intrinsics on aarch64 to the pragma-based framework. This involves removing old type qualifier definitions and integrating the intrinsic implementations into aarch64-neon-builtins-base.cc, referencing them via .def files and updating arm_neon.h.
For Context
- NEON
- ARM's Advanced SIMD (Single Instruction, Multiple Data) 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.