Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Bitboards with BSF/BSR

Author: Dann Corbit

Date: 18:07:35 12/11/01

Go up one level in this thread


On December 11, 2001 at 20:49:15, Wylie Garvin wrote:
[snip]
>Heh heh.  I respectfully submit that you can *always* produce faster assembly
>than any given C compiler.  It's just a matter of how much effort you are
>willing to expend...if the compiler does a good job on 95% of the code, then
>writing more than 5% in assembly is only for ppl like me who think it's *fun*.

You are probably really, really good at it.  My days of outdoing the compiler
stopped about 5 years ago.

>I have the latest Intel compiler, and my only real gripe with it is that it
>generates fairly large code to get that speed.  I like the aesthetic appeal of
>small assembly code.  By writing my whole program in assembly I can make it
>small.  Then I can go back and fix up the parts that VTune says are too slow..

You are writing your *whole program* in assembly langauge then?
I find that approach simply astonishing.

How many LOC is it?
What is the approximate playing strength?
How many hours do you have invested in it?

I shudder to think of what happens 5 years from now when everyone on the planet
will have 64 bit chips.  It would positively make me sick thinking of it, if I
had bothered to write the whole thing in assembly language.

I remember the big shudder Lotus had when they had to translate 1-2-3 from
assembly to C to keep up with the new generations of chips.

What is the speed of your movegen?
What is the speed of your make/unmake?
How long to search from the starting board through 7 ply exhaustive?



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.