Author: Allen Lake
Date: 09:29:12 06/14/02
Go up one level in this thread
On June 14, 2002 at 11:18:06, Dann Corbit wrote:
>I do not know of *any* compiler which specifically targets an athlon core.
>There are settings for PIII and above that Athlons will benefit from, but then
>so will any of the other programs that use a PIII or better. I have lots of
>compilers (at least a dozen of them). Not a single one has an "Athlon" swithch.
> Therefore, any special optimizations just for an athlon would represent a huge
>amount of work.
The new GCC 3.1 compiler has athlon-specific options. From the GCC 3.1 info
page
(http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/i386-and-x86-64-Options.html#i386%20and%20x86-64%20Options)
"Intel 386 and AMD x86-64 Options
These -m options are defined for the i386 and x86-64 family of computers:
-mcpu=cpu-type
Tune to cpu-type everything applicable about the generated code, except for
the ABI and the set of available instructions. The choices for cpu-type are
i386, i486, i586, i686, pentium, pentium-mmx, pentiumpro, pentium2, pentium3,
pentium4, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-4, athlon-xp and
athlon-mp.
While picking a specific cpu-type will schedule things appropriately for
that particular chip, the compiler will not generate any code that does not run
on the i386 without the -march=cpu-type option being used. i586 is equivalent to
pentium and i686 is equivalent to pentiumpro. k6 and athlon are the AMD chips as
opposed to the Intel ones.
-march=cpu-type
Generate instructions for the machine type cpu-type. The choices for
cpu-type are the same as for -mcpu. Moreover, specifying -march=cpu-type implies
-mcpu=cpu-type. "
I've noticed a slight difference in epd testsuite results (1 to 3 more positions
solved in Dann's wacnew.epd) by using the -march=athlon option here on my home
machine with some of the GPL'd engines, but I don't know that it is a
tremendously significant difference.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.