Landing: 97a9a23a0ad2
Project / Subsystem
gcc / libstdc++
Date
2026-03-05
Author
Matthias Kretz
Commit
97a9a23a0ad2ad9acce117954908cdd5008cbc45
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- libstdc++
- patch_id
- —
- commit_hash
- 97a9a23a0ad2ad9acce117954908cdd5008cbc45
- source_type
- github
- headline
- libstdc++: Add std::complex to SIMD vectorizable types
- tldr
- Complex number types now support SIMD vectorization, enabling vectorized operations.
- author
- Matthias Kretz
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libstdc++
- • SIMD
- • complex numbers
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-05T00:00:00.000Z
This commit introduces support for std::complex types within the SIMD vectorization framework. While operations like multiplication and addition are trivially handled using scalar functions, division is not yet implemented. The implementation allows for basic SIMD operations on complex numbers, expanding the utility of SIMD for complex-valued computations.