Re: Possibility of adding -march=native to x86

Michael Lothian
2007-10-25T20:12:55Z

> The MPENTIUM4 option does not only set -march=pentium4, it also enables
> several other options in arch/i386/Kconfig.cpu resulting in better
> performance.

How about an autodetect to set the right options here too using cpuid?

With a warning of course that the code produced will be specifically
for the native cpu that it's compiled on.