lkml.org 
[lkml]   [2003]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.097 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site