Landing: 17b02d8f2b38

Project / Subsystem

gcc / gcc

Date

2026-09-07

Author

Jakub Jelinek

Commit

17b02d8f2b385cbe0f72a5ed0acf34818934b79e

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
17b02d8f2b385cbe0f72a5ed0acf34818934b79e
source_type
github
headline
Use optabs infrastructure for _BitInt to float conversions
tldr
Compiler handles conversions between _BitInt and floating-point types using a unified optab infrastructure.
author
Jakub Jelinek
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • type conversion
  • • optimization
  • • integer
  • • floating-point
discussion_id_link
—
bugzilla_pr
—
date
2026-09-07T00:00:00.000Z

This change integrates the conversion of _BitInt types to and from various floating-point types into GCC’s existing optab (operator table) infrastructure. This allows for more efficient handling and potential caching of these conversions, especially when multiple conversions occur. Previously, these conversions were often generated manually, leading to less optimized code and difficulties in overriding specific library function names. The new approach uses dedicated optabs for these conversions, improving consistency and maintainability.