On 2003.07.03 04:28, Eric Ball wrote:
My CFLAGS for an Athlon XP 1800+ are:

CFLAGS="-march=athlon-xp -O3 -pipe -mcpu=athlon-xp -m3dnow -mmmx -
msse -mfpmath=sse,387 -finline-functions -fmerge-all-constants
-fthread-jumps -fomit-frame-pointer -fexpensive-optimizations
-ffast-math -fforce-addr -falign-functions=64 -falign-jumps=4
-falign-loops=4 -frerun-cse-after-loop -frerun-loop-opt
-fprefetch-loop-arrays -maccumulate-outgoing-args"

Which contains some duplications but _seems_ to work perfectly. Note
this will probably make people cry "Are you crazy and/or stupid!?" and developers will likely refuse to do troubleshooting on any problems you may have.

Are you crazy and/or stupid!?

I never had much of a glance at CFLAGS beyond the basics. Anyway, Eric is right in that Duron's are scaled down athlons, the question is just making sure generation to set your flags properly. drewbian: you could always find out by checking the contents of /proc/
cpucore, and looking those up on amd's website or google.

I figure I'd just let you know about my flags since it is what you asked. Just the basics, but it works fine for me:

-march=athlon-tbird -O3 -pipe -fomit-frame-pointer

Good luck.

-Chris I

                                FROM THE DESK OF
                                Dorothy Gale

        Auntie Em:
                Hate you.
                Hate Kansas.
                Taking the dog.
                        Dorothy

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to