On 5/25/22 19:58, Tom Kacvinsky via Gcc-help wrote:
Does anyone have a quick rundown on what would have changed between GCC 8.3.0 and 12.1.0 in terms of what -mtune=generic does for optimizations?
There was a vast amount of work done on many things, so we can't easily say what affected you. Generally speaking GCC gets better release to release, but bear in mind that compiler optimizations are often based on heuristics. That is to say, they make code better on average, but sometimes they might make things worse. If your degradation is slight overall, there might be an actual regression in the compiler, but chances are you just got unlucky. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. <https://www.redhat.com> https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671