Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: [OT] Inlining Assembler in C - Linking Problems

Author: Steve Maughan

Date: 23:40:53 01/20/04

Go up one level in this thread


Bob,

>It is a "classic bit scan first with potential bugs" implementation.  :)
>
>It depends on undefined behavior that could change at any time.  It assumes
>that the second BSF instruction won't change eax if no bits are set.  This is
>_not_ guaranteed.

Sure - I realize that but what the heck.  I'll be going 64 bit within the next
year!

Any idea what the magic trick is to inline the assembler?

Thanks,

Steve



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.