git-svn-id: trunk@40196 -
@@ -55,7 +55,7 @@ unit aoptutils;
{$if max_operands>2}
function MatchOpType(const p : taicpu; type0,type1,type2 : toptype) : Boolean;
begin
- Result:=(p.ops=3) and (p.oper[0]^.typ=type0) and (p.oper[1]^.typ=type1) and (p.oper[2]^.typ=type1);
+ Result:=(p.ops=3) and (p.oper[0]^.typ=type0) and (p.oper[1]^.typ=type1) and (p.oper[2]^.typ=type2);
end;
{$endif max_operands>2}