Messages in this thread | | | Date | Thu, 23 Oct 2003 17:34:00 +0200 | From | David Zaffiro <> | Subject | Re: FEATURE REQUEST: Specific Processor Optimizations on x86 Architecture |
| |
> If you select Pentium III, the -march flag is set to i686. > If you select Pentium 4, the -march flag is set to i686. > If you select Athlon 4, the -march flag is set to i686. > If you select Athlon XP, the -march flag is set to i686.
Depends on the compiler version you use...
For gcc-3.x, I'm sure your settings should be:
If you select Athlon 4, the -march flag is set to athlon If you select Athlon XP, the -march flag is set to athlon
> I don't want to have to hand edit the makefiles just to optimize my kernel.
The kernel itself has evolved to its current state because people hand-edited it. The feature you request may be added in the future, it will only be added faster if you care enough to do it yourself and send a patch to this list to share it with others...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |