Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: GCC annihilating VISUAL C++ ==> branchless code in 2003?

Author: Matt Taylor

Date: 08:05:49 02/28/03

Go up one level in this thread


On February 28, 2003 at 09:25:07, Andrzej Nagorko wrote:

>On February 28, 2003 at 08:59:08, Vincent Diepeveen wrote:
>
<snip>
>>So in 1 small example we see both the strength of the new generations of
>>processors released after 1996 (pentiumpro/klamath and newer) and the
>>weakness of the software (visual c++ 6.0 despite pentiumpro released
>>in 1996 already still with service packs not using P6 instructions) and the
>>general inefficiency of the GNU world who isn't using "640KB should be enough
>>RAM", but instead still is using the lemma "2 registers will do".
>>
<snip>
>
>  As you see it uses three registers (and doesn't do movl $64, %eax inside
>loop). Either it is difference between gcc 3.2.3 and 3.3 or you didn't use
>proper optimization switches. I compiled it with
>
>gcc -Wall -O3 -fomit-frame-pointer -march=athlon -mcpu=athlon -funroll-loops
>-fstrict-aliasing -S tryx.c
>
>Andrzej

Probably a user error.

-Matt



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.