mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 00:09:25 +02:00
m68k: do not generate copy loops for single byte copies on a plain '000
git-svn-id: trunk@35281 -
This commit is contained in:
parent
854a82b58b
commit
2e9d0543df
@ -1692,7 +1692,7 @@ unit cgcpu;
|
||||
srcrefp,dstrefp : treference;
|
||||
srcref,dstref : treference;
|
||||
begin
|
||||
if (len in [1,2,4]) and (current_settings.cputype <> cpu_mc68000) then
|
||||
if (len = 1) or ((len in [2,4]) and (current_settings.cputype <> cpu_mc68000)) then
|
||||
begin
|
||||
//list.concat(tai_comment.create(strpnew('g_concatcopy: small')));
|
||||
a_load_ref_ref(list,lentocgsize[len],lentocgsize[len],source,dest);
|
||||
|
Loading…
Reference in New Issue
Block a user