Landing: c776dcd5f868

Project / Subsystem

gcc / i386

Date

2026-05-01

Author

Kewen Lin

Commit

c776dcd5f868a16661b86842916493b531988d1e

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
i386
patch_id
commit_hash
c776dcd5f868a16661b86842916493b531988d1e
source_type
github
headline
i386: Reduce build time by improving division modeling.
tldr
Reduces GCC build time by optimizing the modeling of division operations in the i386 backend.
author
Kewen Lin
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • i386
  • build time
  • optimization
  • instruction scheduling
discussion_id_link
github:gcc-mirror/gcc#87832
bugzilla_pr
date
2026-05-01T00:00:00.000Z

GCC build time significantly increased due to excessive execution time of genautomata, caused by combinatorial explosion in division modeling in c86-4g*.md. This patch mitigates the issue by introducing dedicated automatons and cpu_units for idiv and fdiv, updating the integer, floating-point division, and square root modeling.