https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519
--- Comment #6 from Daniel Santos <daniel.santos at pobox dot com> --- (In reply to Martin Liška from comment #4) > Ok, so I've briefly investigated source code and providing such information > is definitely not a simple task :/ Sorry for my late response and thanks for looking into this. I too was a bit daunted when I started to investigate this just for the i386 back-end as there were a lot of twists and turns, 64-bit bitmasks that were out of bits requiring hack-arounds to add new processors, etc. Maybe a nice-to-have would be a generic middle-end mechanism to manage this for all back-ends in a universal fashion so that this type of thing would be much easier to handle. Of course, that would require an awfully large amount of analysis in order to create a design that works *and* makes sense for everyone, but such a design could also do a better job of things such as representing the linage of a microarchitecture, accessing the processor_costs, etc.