From b34915c4ad9d16d1425bfcbd619e8a34d11a21c3 Mon Sep 17 00:00:00 2001 From: Jeppe Johansen Date: Tue, 23 Oct 2012 12:49:41 +0000 Subject: [PATCH] Disabled MLA/MLS optimization for now git-svn-id: branches/laksen/arm-embedded@22829 - --- compiler/arm/aoptcpu.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/arm/aoptcpu.pas b/compiler/arm/aoptcpu.pas index a5d61125aa..659b23d1c1 100644 --- a/compiler/arm/aoptcpu.pas +++ b/compiler/arm/aoptcpu.pas @@ -2002,7 +2002,7 @@ Implementation mls/mla x,y,z,w } - else if (p.typ=ait_instruction) and + {else if (p.typ=ait_instruction) and MatchInstruction(p, [A_MUL], [C_None], [PF_None]) and (taicpu(p).ops=3) and (taicpu(p).oper[0]^.typ = top_reg) and @@ -2061,7 +2061,7 @@ Implementation end; result:=true; - end + 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