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:
masta 2012-10-22 15:30:24 +00:00
parent b047a80b14
commit e91b15b2a4

View File

@ -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