Re: Stupid question

From: Gene Heskett
Date: Tue Nov 23 2004 - 07:47:22 EST


On Tuesday 23 November 2004 07:08, Nix wrote:
>On 23 Nov 2004, Gene Heskett yowled:
>> On Monday 22 November 2004 09:32, P@xxxxxxxxxxxxxx wrote:
>>>Gene Heskett wrote:
>>>> Greetings;
>>>>
>>>> Silly Q of the day probably, but what do I set in a Makefile for
>>>> the -march=option for building on a 233 mhz Pentium 2?
>>>
>>>http://www.pixelbeat.org/scripts/gcccpuopt
>>
>> Thanks very much. Obviously someone else needed to scratch this
>> itch too. This should produce the correct results when running on
>> the target machine. Here, it produces this:
>> [root@coyote CIO-DIO96]# sh ../gcccpuopt
>> -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow
>
>... which is peculiar, as -mmmx -msse is redundant, as is -mmmx
> -m3dnow, and all three of those flags are the end are implied by
> -march=athlon-xp anyway.
>
Humm, as I see it, the choices presented in a make xconfig do not
allow the choice of the athlon-xp, just the athlon. Are there any
worthwhile optimizations the added '-xp' would bring into play?
Making it enough faster to make that choice a worthwhile choice?

Said another way, what file would I edit after the .config has been
saved in order to put that into effect for the subsequent build?

>(-mfpmath=sse *is* useful on non-64-bit platforms, though.)

Oh? As that stuff is pretty invisible during a make today, how would
one go about determining if thats in effect on this machine?

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.29% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
-
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/