Re: -march=x86_64 -mtune=generic question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux