Handle unaligned copy in TCGSparcGen.g_concatcopy method

This commit is contained in:
Pierre Muller 2023-07-13 07:15:07 -05:00
parent 438b4ffb4d
commit 20d0fab8e9

View File

@ -1155,6 +1155,9 @@ implementation
{ anybody wants to determine a good value here :)? }
if len>100 then
g_concatcopy_move(list,source,dest,len)
else if ((source.alignment>0) and (source.alignment<4)) or
((dest.alignment>0) and (dest.alignment<4)) then
g_concatcopy_unaligned(list,source,dest,len)
else
begin
count:=len div 4;