Re: [PATCH 1/2] genopinit: Distribute generated code across multiple files
Jeffrey Law <[email protected]> Tue, 4 Aug 2026 12:34:11 -0600
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
On 8/4/2026 10:59 AM, Tamar Christina wrote: > So I've been ignoring this since it's mostly Richard's thing and we seem to disagree > on design a lot. > > But in my opinion we don't want to keep adding split code to every gen* file individually > but concentrate that code in gensupport so ever gen* can use it. I think that's a fair concern. We should have enough data on how to split the gen* things derived from .md files to be able to see the commonality as well as behaviorial differences we need to put in place. So it's probably a good time to look at that refactoring. I don't think anyone believes things are anywhere near optimal, but I know for the ones Robin did last year, the affect was measured in hours of wall clock time on RISC-V, so huge wins without even trying too hard to be "optimal". Jeff