Re: [PATCH 1/2] genopinit: Distribute generated code across multiple files
Sam James <[email protected]> Tue, 04 Aug 2026 23:42:23 +0100
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Organization | Gentoo |
| Message-ID | <[email protected]> |
--=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Kyrylo Tkachov <[email protected]> writes: >> On 4 Aug 2026, at 20:34, Jeffrey Law <[email protected]> wrot= e: >>=20 >>=20 >>=20 >> 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 see= m to disagree >>> on design a lot. >>>=20 >>> 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". > > Thanks for the background Tamar. I remember there was some activity in > that area, but I had not done the homework tbh. I have a bit of time > to dedicate in this area at the moment so I=E2=80=99ll see if I can come = up > with a sensible refactoring along these lines. > I=E2=80=99ll hold off on committing these two patches for now, unless you= want them in in the meantime. Personally, I'd like to see them in if others are OK with it, because I have some backports for older branches that I use for convenience when bisecting, and something more incremental is easier to use there too. But this isn't very important if people prefer to wait. > > Kyrill > >>=20 >> Jeff --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmpyas8bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkPfk AQDX5qpVD/5fZS1cuf3FSEbAUehO77qRDp8ywyo4zD/BWAD+KD+D2YhydQsr2KQP fEvkbCCPVcbxXr+dTRjEgQqqtAU= =Bj9w -----END PGP SIGNATURE----- --=-=-=--