Landing: 3c5d49a2f046
Project / Subsystem
gcc / gcc
Date
2026-05-06
Author
Richard Biener
Commit
3c5d49a2f046e223c32d44719999d253db0ea0bb
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 3c5d49a2f046e223c32d44719999d253db0ea0bb
- source_type
- github
- headline
- Adjust OpenMP SIMD call cost model.
- tldr
- This commit adjusts the cost of OpenMP SIMD calls in the GCC cost model, which can influence optimization decisions.
- author
- Richard Biener
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • openmp
- • simd
- • cost model
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-06T00:00:00.000Z
The cost model in GCC didn’t properly account for OpenMP SIMD vector calls, leading to suboptimal optimization decisions. This commit adjusts the cost of these calls, assigning a higher cost that reflects the overhead associated with vectorization. This change can influence the compiler’s decision of when and how to vectorize loops using OpenMP SIMD directives, potentially improving performance.