Landing: d0b42b0016cd

Project / Subsystem

gcc / gcc/genoutput

Date

2026-08-07

Author

Kyrylo Tkachov

Commit

d0b42b0016cdbe3e0ca86be8a888b305c96a8df0

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/genoutput
patch_id
—
commit_hash
d0b42b0016cdbe3e0ca86be8a888b305c96a8df0
source_type
github
headline
Compact insn_data and operand_data emission.
tldr
genoutput: Emit instruction and operand data more compactly, reducing file size and memory usage.
author
Kyrylo Tkachov
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • genoutput
  • • optimization
  • • code size
  • • memory usage
discussion_id_link
—
bugzilla_pr
—
date
2026-08-07T00:00:00.000Z

The emission of insn_data and operand_data in the genoutput component has been significantly compacted, resulting in substantial reductions in generated file sizes and peak memory usage during compilation. This was achieved by replacing the use of HAVE_DESIGNATED_UNION_INITIALIZERS with constexpr constructors and emitting table rows more compactly. The changes lead to a dramatic decrease in the size of insn-output.cc and associated object files without affecting compile times.