mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-15 16:22:59 +02:00
* avoid useless GetNextReg calls in second_cmp for avr
git-svn-id: trunk@22834 -
This commit is contained in:
parent
fd8827d379
commit
f76ba05758
@ -193,12 +193,15 @@ interface
|
||||
|
||||
for i:=2 to tcgsize2size[left.location.size] do
|
||||
begin
|
||||
tmpreg1:=GetNextReg(tmpreg1);
|
||||
tmpreg2:=GetNextReg(tmpreg2);
|
||||
if i=5 then
|
||||
begin
|
||||
tmpreg1:=left.location.registerhi;
|
||||
tmpreg2:=right.location.registerhi;
|
||||
end
|
||||
else
|
||||
begin
|
||||
tmpreg1:=GetNextReg(tmpreg1);
|
||||
tmpreg2:=GetNextReg(tmpreg2);
|
||||
end;
|
||||
current_asmdata.CurrAsmList.concat(taicpu.op_reg_reg(A_CPC,tmpreg1,tmpreg2));
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user