mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:09:20 +02:00
* fixed alignment leftover in compare
git-svn-id: trunk@8823 -
This commit is contained in:
parent
4235e9a00a
commit
4f862a23a7
@ -348,7 +348,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
{ use sizeuint typecast to force shr optimization }
|
{ use sizeuint typecast to force shr optimization }
|
||||||
pptruint(pend):=pptruint(psrc)+(sizeuint(len) div sizeof(ptruint));
|
pptruint(pend):=pptruint(psrc)+(sizeuint(len) div sizeof(ptruint));
|
||||||
len:=len and (sizeof(PtrUInt)-1) shr 1;
|
len:=len and (sizeof(PtrUInt)-1);
|
||||||
while psrc<pend do
|
while psrc<pend do
|
||||||
begin
|
begin
|
||||||
b:=(pptrint(psrc)^-pptrint(pdest)^);
|
b:=(pptrint(psrc)^-pptrint(pdest)^);
|
||||||
@ -414,7 +414,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
{ use sizeuint typecast to force shr optimization }
|
{ use sizeuint typecast to force shr optimization }
|
||||||
pptruint(pend):=pptruint(psrc)+(sizeuint(len)*2 div sizeof(ptruint));
|
pptruint(pend):=pptruint(psrc)+(sizeuint(len)*2 div sizeof(ptruint));
|
||||||
len:=len and (sizeof(PtrUInt)-1) shr 1;
|
len:=((len*2) and (sizeof(PtrUInt)-1)) shr 1;
|
||||||
while psrc<pend do
|
while psrc<pend do
|
||||||
begin
|
begin
|
||||||
b:=(pptrint(psrc)^-pptrint(pdest)^);
|
b:=(pptrint(psrc)^-pptrint(pdest)^);
|
||||||
@ -481,7 +481,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
{ use sizeuint typecast to force shr optimization }
|
{ use sizeuint typecast to force shr optimization }
|
||||||
pptruint(pend):=pptruint(psrc)+(sizeuint(len)*4 div sizeof(ptruint));
|
pptruint(pend):=pptruint(psrc)+(sizeuint(len)*4 div sizeof(ptruint));
|
||||||
len:=len and (sizeof(PtrUInt)-1) shr 2;
|
len:=((len*4) and (sizeof(PtrUInt)-1)) shr 2;
|
||||||
while psrc<pend do
|
while psrc<pend do
|
||||||
begin
|
begin
|
||||||
b:=(pptrint(psrc)^-pptrint(pdest)^);
|
b:=(pptrint(psrc)^-pptrint(pdest)^);
|
||||||
|
Loading…
Reference in New Issue
Block a user