|
@@ -984,7 +984,7 @@ end;
|
|
****************************************************************************}
|
|
****************************************************************************}
|
|
|
|
|
|
|
|
|
|
-{ do a thread save inc/dec }
|
|
|
|
|
|
+{ do a thread-safe inc/dec }
|
|
{$define FPC_SYSTEM_HAS_DECLOCKED_LONGINT}
|
|
{$define FPC_SYSTEM_HAS_DECLOCKED_LONGINT}
|
|
function cpudeclocked(var l : longint) : boolean;assembler;nostackframe;
|
|
function cpudeclocked(var l : longint) : boolean;assembler;nostackframe;
|
|
|
|
|
|
@@ -1093,7 +1093,7 @@ asm
|
|
.Lj3610:
|
|
.Lj3610:
|
|
movl %edx,%eax
|
|
movl %edx,%eax
|
|
call cpudeclocked
|
|
call cpudeclocked
|
|
- movb %al,%al
|
|
|
|
|
|
+ testb %al,%al
|
|
je .Lj3605
|
|
je .Lj3605
|
|
.Lj3620:
|
|
.Lj3620:
|
|
movl (%esp),%eax
|
|
movl (%esp),%eax
|