Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: An Opteron note

Author: Robert Hyatt

Date: 11:01:49 11/27/03

Go up one level in this thread


On November 26, 2003 at 23:25:20, Russell Reagan wrote:

>On November 26, 2003 at 21:18:05, Robert Hyatt wrote:
>
>>And
>>then there are 8 more registers you can use with the same old opcodes
>>and addressing modes.
>
>>I have PopCnt(), FirstOne() and LastOne() working
>>fine.
>
>Did the extra registers allow for any new tricks/improvements when writing these
>functions? Or was the number of registers not a limiting factor for these
>functions on x86?

registers really wasn't a problem.  The only new feature is that the 64-bit
value (normally a bitboard) is passed in a register rather than on the stack.
That's something new in this edition of the gcc compiler, probably a result
of the AMD64 extensions.


>
>Have you considered making use of the 16 128-bit xmm registers on the Opteron?
>Or the 8 64-bit mmx registers?

I haven't, no.  There is not much assembly in Crafty as is, I'm not looking
to add more...



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.