Author: Anthony Cozzie
Date: 09:48:32 02/14/03
Go up one level in this thread
On February 14, 2003 at 03:40:53, Matt Taylor wrote: >AFAIK all suggestions are now incorporated: >ftp://24.73.126.6/lsb.h >ftp://24.73.126.6/lsb.c > >Somebody (I no longer remember who) asked me to create a version that does not >use cmovcc so it will run on older chips. I may get around to this, but it is >not high priority. Staying sane is high priority. > >Popcount was also requested; this may make its way into that file very soon -- I >just need to copy code from the K7 optimization manual. > >All versions (inline C and all 3 asm routines) tested in GCC and VC against a >pure-C routine and seem to work for me. > >Once again, suggestions are always welcome. Bug reports are even more welcome. > >Happy bit fiddling! > >-Matt if you are referring to the MMX code AMD suggests, I tried implementing it and found it to be inferior to the standard & 0x5555 etc trick. Of course, maybe I just did it wrong :) Great job on the first bitscan though. I plan on adding it to my program pretty soon. anthony
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.