mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:48:12 +02:00
* optimize also str/ldrb/h/d
git-svn-id: trunk@22219 -
This commit is contained in:
parent
1b3e03d72d
commit
9d20a73986
@ -979,8 +979,8 @@ Implementation
|
||||
begin
|
||||
hp1:=p;
|
||||
while GetNextInstructionUsingReg(hp1, hp1, taicpu(p).oper[0]^.reg) and
|
||||
(MatchInstruction(hp1, A_LDR, [taicpu(p).condition], [PF_None]) or
|
||||
MatchInstruction(hp1, A_STR, [taicpu(p).condition], [PF_None])) and
|
||||
(MatchInstruction(hp1, A_LDR, [taicpu(p).condition], []) or
|
||||
MatchInstruction(hp1, A_STR, [taicpu(p).condition], [])) and
|
||||
(taicpu(hp1).oper[1]^.ref^.base=taicpu(p).oper[0]^.reg) and
|
||||
(taicpu(hp1).oper[1]^.ref^.index=NR_NO) and
|
||||
(taicpu(hp1).oper[1]^.ref^.addressmode=AM_OFFSET) and
|
||||
|
Loading…
Reference in New Issue
Block a user