Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Opteron very fast at 64 bits

Author: Gerd Isenberg

Date: 05:01:15 08/04/03

Go up one level in this thread


On August 03, 2003 at 16:56:26, Eugene Nalimov wrote:

>On August 03, 2003 at 15:07:47, Vincent Diepeveen wrote:
>
>>Those pages June 2003, looks pretty new to me :)
>
>Yes, web site contains latest Platform SDK, dated June 2003. You can look
>earlier PSDK, and trust me, those functions are there for some time...
>
>Thanks,
>Eugene
>

Hi Eugine,

sorry for one naive questions on MS AMD64-compiler related to intrinsics and
assembler:

Is it possible to write "own" intrinsics with 64-bit MASM for 64-bit MSC eg. a
bitscan routine like this inlined one:

__forceinline
int bisScan (BitBoard bb /* fastcall via rcx */)
{
  __asm bsf   rax, ecx  ; inline __asm not longer supported in AMD-64 compiler
}

Thanks in advance,
Gerd


from MSDN:

Intrinsic Functions and Inline Assembly
[This is preliminary documentation and subject to change.]

One of the constraints for the AMD64 compiler is to have no inline assembler
support. This means that functions that cannot be written in C or C++ must be
written either as subroutines or as intrinsic functions that are supported by
the compiler. Certain functions are performance-sensitive while others are not.
Performance-sensitive functions should be implemented as intrinsic functions. In
general, this will be the same list of intrinsic functions implemented for ALPHA
and the IA64, but will include AMD64-specific functions as well.

The intrinsic functions that are supported by the compiler are described in the
Intrinsic Functions for AMD64 section.




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.