Hi,<div><br></div><div>I am wondering how to specify the selection DAG patterns for instructions that use accumulator. </div><div>For example multiply-accumulate instruction with one destination operand and two source operands:</div>
<div>mac $dst, $src1, $src2 ;; $dst += $src1*$src2<br clear="all"><br></div><div>Seems that it has a cycle in the pattern. So how do I specify it in the DAG?</div><div>There are a few instructions in the ARM backend like this one, but the patterns are left blank.<br>
-- <br><br>Regards,<br><br>Dongrui<br>
<br></div>