* optimize also str/ldrb/h/d

git-svn-id: trunk@22219 -
This commit is contained in:
florian 2012-08-23 21:03:44 +00:00
parent 1b3e03d72d
commit 9d20a73986

View File

@ -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