Computer Chess Club Archives


Search

Terms

Messages

Subject: What are the chances of getting a new 64bit instruction for chess :)

Author: Larry Griffiths

Date: 18:50:59 06/26/00


I was thinking it would be nice to have an instruction that would select bits
using a mask.

It looks like Intel has a pmovmskb instruction that takes the high-order bit of
each byte in an MMX register and copies it to a destination register.  The
description of this instruction is Move Byte Mask to Integer.  This would work
for selecting out a rank from a file bitmap and vice-versa.

I would like to see an instruction called Move Bit Mask to Integer.  It would
select only the bits from the source register using a 64-bit mask register.  I
could then extract diagonals from a regular rank bitmap.

Of course, feel free to add your OWN list of instructions you would like to see
:) LOL

Larry.



This page took 0.01 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.