mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 22:46:01 +02:00
* enable is_prefetch only for x86 code
git-svn-id: trunk@44938 -
This commit is contained in:
parent
c152796bf3
commit
5c898fe795
@ -280,6 +280,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
{$endif VER3_0}
|
{$endif VER3_0}
|
||||||
|
|
||||||
|
{$ifdef CPUX86_64}
|
||||||
function is_prefetch(p : pointer) : boolean;
|
function is_prefetch(p : pointer) : boolean;
|
||||||
var
|
var
|
||||||
a : array[0..15] of byte;
|
a : array[0..15] of byte;
|
||||||
@ -317,6 +318,7 @@ function is_prefetch(p : pointer) : boolean;
|
|||||||
inc(i);
|
inc(i);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{$endif}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user