* optimization "Merging stores: STR/STR -> STM" cannot be carried out when generating thumb code

git-svn-id: trunk@49503 -
This commit is contained in:
florian 2021-06-15 19:05:34 +00:00
parent 4e159b3d45
commit 7ee31ae252

View File

@ -2055,7 +2055,7 @@ Implementation
Result := False;
{ Try to merge two STRs into an STM instruction }
if (taicpu(p).oper[1]^.typ = top_ref) and
if not(GenerateThumbCode) and (taicpu(p).oper[1]^.typ = top_ref) and
(taicpu(p).oper[1]^.ref^.addressmode = AM_OFFSET) and
(
(taicpu(p).oper[1]^.ref^.base = NR_NO) or