m68k: do not generate copy loops for single byte copies on a plain '000

git-svn-id: trunk@35281 -
This commit is contained in:
Károly Balogh 2017-01-13 15:41:21 +00:00
parent 854a82b58b
commit 2e9d0543df

View File

@ -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);