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

Port Neon table lookup intrinsics to new pragma-based framework

AArch64 Neon table lookup intrinsics are migrated to a new pragma-driven framework.

This commit updates the AArch64 backend to integrate Neon table lookup intrinsics into a new pragma-based framework. The changes involve modifying intrinsic definitions, adding new types and classes for their representation, and updating machine description files. This migration aims to streamline the handling of these SIMD operations.

In Details

This patch migrates AArch64's Neon table lookup (tbl) and lane insert (tbx) intrinsics, along with table lookup indexing (luti), from older mechanisms to a new pragma-driven infrastructure. This involves defining new Gimple-representation classes (gimple_table_lookup, gimple_qtbl, etc.), updating *-neon-builtins-base.cc and .def files, and modifying the machine description (.md) files. The goal is to consolidate the management of these SIMD intrinsics under a more unified and maintainable framework, moving away from hand-written implementations in arm_neon.h towards a more s…

For Context
Neon
An advanced SIMD (Single Instruction, Multiple Data) extension for ARM processors, used for accelerating multimedia and signal processing tasks.
Intrinsics
Special functions that provide a way to access hardware-specific instructions or features directly from high-level code, often used for performance-critical operations.
Pragma
A preprocessor directive used to provide additional instructions to the compiler, often for controlling optimization, pragmas can be used to define compiler-specific behaviors or features.
GIMPLE
GCC's Internal Representation for Optimization. It's a three-address, low-level intermediate representation used within GCC for performing optimizations.
SIMD
Single Instruction, Multiple Data. A class of parallel computers in Flynn's taxonomy that perform the same operation on multiple data points simultaneously.
Filed Under: aarch64neonsimdintrinsics