[fpc-devel] Re: systemh.inc InterLockedIncrement64 (var Target: int64)

Andrew Brunner andrew.t.brunner at gmail.com
Wed Oct 27 23:37:52 CEST 2010


On Wed, Oct 27, 2010 at 4:28 PM, Andrew Brunner
<andrew.t.brunner at gmail.com> wrote:

> I get your logic, and agree, but why not just have ONE call for all
> the data types.  Why must I use Interlocked*64(...Int64) for the x64
> cpu and Interlocked*(...Int64) for the i386 code?  Can't we just
> consolidate them all to Interlocked*(..._type):_type ???

Nevermind.  If the x64 cpu uses a dedicated CAS instruction I would
want to execute that way rather than via the i386 compat route.



More information about the fpc-devel mailing list