Re: [PATCH] [2.4] [2.5] [i386] Add support for GCC 3.1 -march=pentium{-mmx,3,4}

Dave Jones (davej@suse.de)
Sun, 26 May 2002 02:21:55 +0200


On Sun, May 26, 2002 at 03:08:49AM +0200, J.A. Magallon wrote:
> I think that the menu should contain separate config options for each
> processor type, so it is easily modifiable for specific optimizations
> offered by new compilers (for example, gcc-3.1 splitting i686 in
> pentium-pro, p2, p3 and p4), or some braindead hacker can optimize
> code snippets for some kind of processor.

Something like..

http://www.codemonkey.org.uk/patches/old/cpu-choice-2.diff
perhaps ? My original motivation wasn't so that we could fine grain the
compiler flags, but to cut down on the "my cpu wasn't in the list and
I didn't know which one to pick" bug reports.

I got sidetracked with something else though, which meant I never saw
this patch through to completion.. if theres any interest I'll pick it
up again.

Dave.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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/