[Beowulf] Sempron compile optimization

Erwan Velu erwan at seanodes.com
Wed Nov 23 16:04:01 EST 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?
>
You must be careful, the sempron product line owns some  x86 and some 
x86_64 processors !
Mine is a pure x86 so trying to use some x86_64 code will fails.
Have a look at http://www.amdcompare.com/us-en/desktop/Default.aspx to 
find what your processor is.

Erwan,
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list