Am 27.10.2010 23:50, schrieb Andrew Brunner:
> My current largest issue is that due to source from from x86_64.inc
> 
> function InterLockedIncrement64 (var Target: int64) : int64; assembler;
> asm
> {$ifdef win64}
>         movq    %rcx,%rax
> {$else win64}
>         movq    %rdi,%rax
> {$endif win64}
>         movq    $1,%rdx
>         xchgq   %rdx,%rax
>         lock
>         xaddq   %rax, (%rdx)
>         incq    %rax
> end;
> 
> This code should not be excluded from me under i386 mode.  How many 32
> bit versions of FPC / Lazarus are out there with access to x64 cpu
> instructions. 

None. The x64 instructions are not available to 32 bit code.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to