[Beowulf] Sempron compile optimization

Robert G. Brown rgb at phy.duke.edu
Wed Nov 23 06:39:41 PST 2005


On Wed, 23 Nov 2005, Alan Ward wrote:

> Hello everybody.
>
> Since 64-bit CPU architecture is cheap these days in a Semperon (3000+ version), I've been trying to optimize some of my C code. As for compile switches on the gcc, do
>
>   -march=x86-64 -mfpmath=sse -m3dnow
>
> look reasonable? Any reason why the -m64 switch does not work for me?

I don't think the -m switches have done much for some time now.  But I
could be wrong.  I think they may even be deprecated.  Check the primary
compiler docs or compiler developer website.

    rgb

>
> Best regards,
> Alan Ward
>

-- 
Robert G. Brown	                       http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:rgb at phy.duke.edu





More information about the Beowulf mailing list