Re: Possibility of adding -march=native to x86

From: Gabriel C
Date: Thu Oct 25 2007 - 16:41:55 EST


Michael Lothian wrote:
>> 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.

And kill off all Distro kernels right ? IMO to set that auto magically is bad.

Regards,

Gabriel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/