Author: Dieter Buerssner
Date: 11:06:55 06/20/02
Go up one level in this thread
On June 20, 2002 at 13:30:28, Eugene Nalimov wrote: >Unfortunately, suggested experiment is flawed. Yes >Lot of compilers will generate >much worse code for the operations with structures than for the operations with >the builtin types. I have also seen the opposite case - working on structures was more efficient in some cases with some versions of gcc. I think, it is more or less obvious, that working on structures with + or - will be less efficient (because there is no high level access to the carry bit). I mean cases with |,&,^, that are more relevant for typical chess engines. Actually, I have hidden in my chess engine the few bitboard operations I need, in macros working on either some structure 64 bit type or on some native 64 bit type. However, I have no 64 bit processors available for testing - contributions are welcome :-) Regards, Dieter
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.