mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 04:30:36 +01:00
Disabled MulAdd2MLA and MulSub2MLS Peephole optimizers for thumb2
According to Jeppe Johansen these are currently broken and emit the operands in the wrong order. git-svn-id: trunk@22822 -
This commit is contained in:
parent
b047a80b14
commit
e91b15b2a4
@ -2014,6 +2014,9 @@ Implementation
|
||||
|
||||
mls/mla x,y,z,w
|
||||
}
|
||||
{
|
||||
According to Jeppe Johansen this currently uses operands in the wrong order.
|
||||
|
||||
else if (p.typ=ait_instruction) and
|
||||
MatchInstruction(p, [A_MUL], [C_None], [PF_None]) and
|
||||
(taicpu(p).ops=3) and
|
||||
@ -2074,6 +2077,7 @@ Implementation
|
||||
|
||||
result:=true;
|
||||
end
|
||||
}
|
||||
{else if (p.typ=ait_instruction) and
|
||||
MatchInstruction(p, [A_CMP], [C_None], [PF_None]) and
|
||||
(taicpu(p).oper[1]^.typ=top_const) and
|
||||
|
||||
Loading…
Reference in New Issue
Block a user