mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 13:49:15 +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_EOR,
|
||||||
A_ORR,
|
A_ORR,
|
||||||
A_MLA,
|
A_MLA,
|
||||||
|
A_MLS,
|
||||||
A_MUL:
|
A_MUL:
|
||||||
begin
|
begin
|
||||||
{
|
{
|
||||||
@ -1663,7 +1664,7 @@ Implementation
|
|||||||
add reg2, ...
|
add reg2, ...
|
||||||
}
|
}
|
||||||
if GetNextInstructionUsingReg(p, hp1, taicpu(p).oper[0]^.reg) and
|
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
|
RemoveSuperfluousMove(p, hp1, 'DataMov2Data') then
|
||||||
Result:=true;
|
Result:=true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user