Author: Gerd Isenberg
Date: 12:30:42 08/04/03
Go up one level in this thread
On August 04, 2003 at 13:28:09, Eugene Nalimov wrote:
>No, AMD64 Visual C compiler does not support inline assembler. On a positive
>side -- we now have intrinsics for bsf/bsr.
>
>Thanks,
>Eugene
Thanks Eugene,
My point was AMD64 MASM in conjunction with AMD64 MSVC.
I read already, that AMD64 Visual C compiler doesn't support inline assembler
anymore. To make my integer MMX/SSE2 stuff, i have to use 64-bit MASM.
In my naive imagination i thought about a way to inline own, very small
assembler functions from MASM into C. That's what i meant with "own intrinsics".
But Ok, if "bsf/bsr" and even "bswap" are available as intrinsics it isn't
necessary of course.
Btw.: Do these intrinsics imply inlining?
eg. for this bsf prototype: (don't know the identifier)
unsigned __int64 _BitScanForeward(unsigned __int64 x);
inlined code like this:
bsf rax,rcx ; according to register convention,
; but may be changed/optimized by the compiler
Regards,
Gerd
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.