Landing: 4cb381957ca6
Project / Subsystem
gcc / aarch64
Date
2026-08-24
Author
Dhruv Chawla
Commit
4cb381957ca6240956cf07bcc8d53b9dfe125b13
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 4cb381957ca6240956cf07bcc8d53b9dfe125b13
- source_type
- github
- headline
- aarch64: Port NEON saturating add/sub intrinsics to pragma framework
- tldr
- NEON saturating add/sub intrinsics (vqadd, vqsub) and their scalar variants are ported to GCC's pragma-based framework.
- author
- Dhruv Chawla
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • neon
- • intrinsics
- • compiler framework
- • gimple
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-24T00:00:00.000Z
The NEON saturating add and subtract intrinsics, vqadd and vqsub, along with their scalar variants (e.g., vqaddb, vqsubh), have been ported to GCC’s pragma-based framework for aarch64. The patch also enhances the gimple_ifn handler to automatically convert single-element vector modes (V1XX) to their corresponding scalar XX modes for processing, mirroring existing behavior in arm_neon.h and reusing scalar patterns without impacting codegen quality.