I understand that different "-mtune" options cause the compiler to make different decisions in the code optimization.
But the "-mtune" option that matches the actual CPU model is supposed to generated the fastest code. That is the whole idea of making CPU-model-specific optimizations, right? In...
Hello,
I have a program that is written in C and that is compiled with GCC on Linux, BSD and Solaris. I want the binary to run on all "x64" processors, so I use -march=x86_64 option. Also I was experimenting with different -mtune options. My machine is AMD Ryzen 9 5950X, so I would think that...