This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: performance with gcc -O0/-O2]
- From: "J.C. Pizarro" <jcpiza at gmail dot com>
- To: "Howard Chu" <hyc at highlandsun dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 27 Nov 2007 15:10:20 +0100
- Subject: Re: [Fwd: performance with gcc -O0/-O2]
For your Opteron, try with this option
-O3 -fomit-frame-pointer -march=k8 -funroll-loops -finline-functions
-fpeel-loops \
-mno-sse3 -msse2 -msse -mno-mmx -mno-3dnow
The Opteron hardware said that it's better to use SSE2 than SSE3.
The MMX and 3DNow!+ instructions are shorter and older than SSE2/SSE
instructions.
Sincerely, J.C.Pizarro