Landing: c49950f196b8
Project / Subsystem
gcc / aarch64
Date
2026-09-03
Author
Dhruv Chawla
Commit
c49950f196b8124addf8f3dcbeaa51ae322ec6c8
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- c49950f196b8124addf8f3dcbeaa51ae322ec6c8
- source_type
- github
- headline
- aarch64: Make NEON_FUNCTION a variadic macro for code reduction
- tldr
- aarch64: Simplifies NEON intrinsic definitions by converting NEON_FUNCTION to a variadic macro, reducing redundancy.
- author
- Dhruv Chawla
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • neon
- • macro
- • code-reduction
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-03T00:00:00.000Z
This patch refactors the NEON_FUNCTION macro in the aarch64 backend to be variadic. This change allows a single macro definition to handle multiple NEON intrinsics that share the same GIMPLE handler class and arguments, up to 10 intrinsics. By reducing redundancy in how intrinsics map to handlers, this improves code maintainability and clarity within the NEON builtins framework.