Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. La Mancha

    How comes GCC with "-mtune=nocona" produces the fastest code? (for Zen3 CPU)

    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...
  2. La Mancha

    How comes GCC with "-mtune=nocona" produces the fastest code? (for Zen3 CPU)

    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...
Back
Top Bottom