mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
Apply DataMov2Data to MLA and MLS too. Those have over 4 operands.
git-svn-id: trunk@26912 -
This commit is contained in:
parent
b3e6248547
commit
95589fb1e2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user