Author: KarinsDad
Date: 21:28:14 02/01/00
Go up one level in this thread
On February 01, 2000 at 23:25:44, Eugene Nalimov wrote: >*Always* search for the bug in your code first. In the 95% of cases it's there. >not in the optimizer. > >Eugene > Maybe in YOUR code! ;) However, if one compiler has a failure and one or more other compilers do not, then suspect an optimizer problem. If the problem occurs with more than one compiler, then suspect your code. Another thing to do is to remove any form of randomization that an optimizer can create such as how long you search as opposed to how many nodes you search. If your code is set up in "test mode" to search the identical position in the exact same manner (i.e. it is deterministic) regardless of optimization, then you can quickly determine with multiple compilers whether a bug is due to code or optimization. With something as complex as a chess program, this seems the only way to make that type of determination (unless you are a programming guru or something). KarinsDad :)
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.