Pārlūkot izejas kodu

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 -
masta 12 gadi atpakaļ
vecāks
revīzija
e91b15b2a4
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      compiler/arm/aoptcpu.pas

+ 4 - 0
compiler/arm/aoptcpu.pas

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