mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 18:22:33 +02:00
* updated tppufile.getaword to support 16-bit and 8-bit aword sizes
git-svn-id: trunk@25671 -
This commit is contained in:
parent
8574642a1f
commit
3b895ec0e8
@ -846,11 +846,12 @@ begin
|
|||||||
result:=0;
|
result:=0;
|
||||||
end;
|
end;
|
||||||
{$else not generic_cpu}
|
{$else not generic_cpu}
|
||||||
{$ifdef cpu64bitalu}
|
case sizeof(aword) of
|
||||||
result:=getqword;
|
8: result:=getqword;
|
||||||
{$else cpu64bitalu}
|
4: result:=getdword;
|
||||||
result:=getdword;
|
2: result:=getword;
|
||||||
{$endif cpu64bitalu}
|
1: result:=getbyte;
|
||||||
|
end;
|
||||||
{$endif not generic_cpu}
|
{$endif not generic_cpu}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user