mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 03:59:28 +02:00
* better peephole optimization tracing
git-svn-id: trunk@34698 -
This commit is contained in:
parent
42760951f9
commit
57ca8647b3
@ -582,6 +582,7 @@ unit aoptx86;
|
||||
mov %reg, y
|
||||
}
|
||||
taicpu(p).loadOper(1,taicpu(hp1).oper[1]^);
|
||||
DebugMsg('PeepHole Optimization,MovMov2Mov 2',p);
|
||||
asml.remove(hp1);
|
||||
hp1.free;
|
||||
ReleaseUsedRegs(TmpUsedRegs);
|
||||
@ -599,6 +600,7 @@ unit aoptx86;
|
||||
mov mem, %reg"
|
||||
}
|
||||
taicpu(p).loadoper(1,taicpu(hp1).oper[1]^);
|
||||
DebugMsg('PeepHole Optimization,MovMov2Mov 3',p);
|
||||
asml.remove(hp1);
|
||||
hp1.free;
|
||||
ReleaseUsedRegs(TmpUsedRegs);
|
||||
@ -748,7 +750,7 @@ unit aoptx86;
|
||||
begin
|
||||
if (taicpu(p).oper[0]^.typ = top_reg) then
|
||||
AllocRegBetween(taicpu(p).oper[0]^.reg,p,hp1,usedregs);
|
||||
DebugMsg('PeepHole Optimization,MovMov2Mov1',p);
|
||||
DebugMsg('PeepHole Optimization,MovMov2Mov 1',p);
|
||||
asml.remove(hp1);
|
||||
hp1.free;
|
||||
Result:=true;
|
||||
|
Loading…
Reference in New Issue
Block a user