Author: Vincent Diepeveen
Date: 04:56:09 02/28/03
Go up one level in this thread
On February 27, 2003 at 17:41:50, Angrim wrote:
he asked after branchless code. i show him that all he has to
do is get rid of arrays in the 'if then else' clauses.
the rest is not important at all.
do {
int tempty=info[target]-EMPTA;
target += 8;
if( tempty ) // good compilers do this branchless
target = 64;
} while( target < 64 );
All the stuff is branchless.
If you are not smart enough to read the question, then i advice you to reread
it.
Best regards,
Vincent
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.