Landing: bfa26edeed6c

Project / Subsystem

gcc / libstdc++

Date

2026-03-20

Author

Matthias Kretz

Commit

bfa26edeed6c88d96ae8d83c605f98d40f56394d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
libstdc++
patch_id
commit_hash
bfa26edeed6c88d96ae8d83c605f98d40f56394d
source_type
github
headline
libstdc++: Refactor ScalarAbi into Abi<N, N>
tldr
SIMD ABI definitions are refactored to unify scalar and vector representations, improving consistency.
author
Matthias Kretz
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • libstdc++
  • SIMD
  • ABI
discussion_id_link
bugzilla_pr
date
2026-03-20T00:00:00.000Z

This commit refactors the SIMD infrastructure by replacing _ScalarAbi<N> with a more general _Abi<N, N> template. This change unifies the representation of scalar and vector types within the ABI definitions, addressing issues where scalar ABI properties were incorrectly applied to vector types. The refactoring improves the accuracy of bitmask detection and rebind operations for SIMD types.