mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 17:08:01 +02:00
* patch by J. Gareth Moreton: improve MovAndTest2Test optimization, resolves #39156
git-svn-id: trunk@49580 -
This commit is contained in:
parent
7d6b01bfc4
commit
ea47cb313d
@ -2239,7 +2239,7 @@ unit aoptx86;
|
||||
MatchOperand(taicpu(hp1).oper[1]^,taicpu(hp2).oper[1]^) and
|
||||
MatchOperand(taicpu(hp2).oper[0]^,taicpu(hp2).oper[1]^) and
|
||||
GetNextInstruction(hp2,hp3) and
|
||||
MatchInstruction(hp3,A_Jcc,A_Setcc,[S_NO]) and
|
||||
MatchInstruction(hp3,A_Jcc,A_Setcc,[]) and
|
||||
(taicpu(hp3).condition in [C_E,C_NE]) then
|
||||
begin
|
||||
TransferUsedRegs(TmpUsedRegs);
|
||||
|
Loading…
Reference in New Issue
Block a user