mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 15:09:14 +02:00
Fixed LsrAnd2Lsr peephole optimization for ARM.
git-svn-id: trunk@26619 -
This commit is contained in:
parent
859676d7d3
commit
f773334374
@ -956,6 +956,7 @@ Implementation
|
||||
(taicpu(p).oper[2]^.shifterop^.rs = NR_NO) and
|
||||
(taicpu(p).oper[2]^.shifterop^.shiftmode = SM_LSR) and
|
||||
GetNextInstructionUsingReg(p,hp1, taicpu(p).oper[0]^.reg) and
|
||||
(not RegModifiedBetween(taicpu(hp1).oper[0]^.reg, p, hp1)) and
|
||||
RegEndOfLife(taicpu(p).oper[0]^.reg, taicpu(hp1)) then
|
||||
begin
|
||||
if (taicpu(p).oper[2]^.shifterop^.shiftimm >= 24 ) and
|
||||
|
Loading…
Reference in New Issue
Block a user