Author: Joshua Shriver
Date: 00:50:40 07/01/04
Go up one level in this thread
Do you happen to remember what version of crafty had this? Could it be placed into 19.14 with the appropriate #if defined's? You mentioned this was posted a week or so ago, have a URL or remeber the topic? Sincerely, Joshua Shriver > >Andreas, > >Last time I looked there were specific code for the PPC processor in Crafty. >If not, there used to be. > >The PPC processor has a built in instruction to help with the FirstOne, LastOne >function calls >called cntlzw. The counts the number of leading zero bits, I think, form the >low bit number end. >It turns most of the bit manipulation routines (except popcnt) into almost a >single instruction call. > >In metrowerks, it can be called with the compiler function __cntlzw(32bitvalue). > >In XCode you have to call it from assembly. The source was posted a week or so >ago for the >assembly language functions. > >William
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.