How is -march different from -mtune?
If you use -march then GCC will be free to generate instructions that work on the specified CPU, but (typically) not on earlier CPUs in the architecture family. If you just use -mtune, then the compiler will generate code that works on any of them, but will favour instruction sequences that run fastest on the … Read more