Apply DataMov2Data to MLA and MLS too. Those have over 4 operands.

git-svn-id: trunk@26912 -
This commit is contained in:
Jeppe Johansen 2014-03-01 14:21:04 +00:00
parent b3e6248547
commit 95589fb1e2

View File

@ -1421,6 +1421,7 @@ Implementation
A_EOR,
A_ORR,
A_MLA,
A_MLS,
A_MUL:
begin
{
@ -1663,7 +1664,7 @@ Implementation
add reg2, ...
}
if GetNextInstructionUsingReg(p, hp1, taicpu(p).oper[0]^.reg) and
(taicpu(p).ops=3) and
(taicpu(p).ops>=3) and
RemoveSuperfluousMove(p, hp1, 'DataMov2Data') then
Result:=true;