Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Opteron Instruction Set

Author: Robert Hyatt

Date: 19:41:19 02/02/04

Go up one level in this thread


On February 02, 2004 at 20:06:29, David Rasmussen wrote:

>Does the Opteron have firstBit, lastBit and popCount instructions? Or at least
>something that makes calculating them easier than on x86-32?
>
>/David


Has the same BSF/BSR instructions, but no popcnt that I have found.  Note
that BSF/BSR work on 64 bit values if you want.  I have inline asm to do
all three for gcc if you are interested.



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.