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

Port NEON fused multiply-accumulate intrinsics to pragma-based framework

NEON fused multiply-accumulate and multiply-subtract intrinsics are now handled by the pragma-based framework, with updated assembly tests.

This commit ports NEON fused multiply-accumulate (vfma) and fused multiply-subtract (vfms) intrinsics to GCC’s pragma-based framework. It includes adjustments to assembly patterns for consistency and to correctly handle negated inputs. Additionally, it removes now-unused builtin functions, simplifying the codebase.

In Details

This change integrates NEON fused multiply-accumulate and multiply-subtract intrinsics into the pragma-based framework within aarch64-neon-builtins-base.cc and related files. It refactors the generation of RTL for these operations, adjusting patterns in aarch64-simd.md and ensuring correct handling of operand order for FNMA instructions. The removal of builtins like __builtin_aarch64_fma simplifies the interface for developers using these SIMD operations.

Filed Under: aarch64neonintrinsicscompiler