[Beowulf] Sempron compile optimization
erwan at seanodes.com
Wed Nov 23 13:04:01 PST 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.
More information about the Beowulf