Landing: 9e1c435c70a2
Project / Subsystem
gcc / aarch64
Date
2026-09-03
Author
Kyrylo Tkachov
Commit
9e1c435c70a2ad4ca5285307b4a760f92c7a3426
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 9e1c435c70a2ad4ca5285307b4a760f92c7a3426
- source_type
- github
- headline
- aarch64: Use SVE2 SQXTNB and UQXTNB for saturating truncation
- tldr
- Vectorization of saturating truncation operations improved for aarch64 using new SVE2 instructions.
- author
- Kyrylo Tkachov
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • vectorization
- • SVE2
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-03T00:00:00.000Z
GCC now leverages SVE2 SQXTNB and UQXTNB instructions on aarch64 for saturating truncation operations, enhancing vectorization. Previously, these operations were emulated less efficiently using minimum and maximum instructions followed by a truncating store. This change improves performance by directly using hardware support for these operations, making code generation more efficient for saturated truncation patterns.