<div dir="ltr"><div><div><div><div>Dear,<br><br></div>I am going through the lib/Target/X86/X86InstrArithmetic.td file where there is a definition for a multiclass as follows<br><br>multiclass ArithBinOp_F<bits<8> BaseOpc, bits<8> BaseOpc2, bits<8> BaseOpc4,<br>
                        string mnemonic, Format RegMRM, Format MemMRM,<br>                        SDNode opnode,<br>                        bit CommutableRR, bit ConvertibleToThreeAddress><br></div><br>This for arithmetic operators like ADD,XOR,AND etc. <br>
<br></div>Can anyone throw some light on the three different opcodes used namely BaseOpc , BasecOp2, BaseOpc4 ?<br></div>Also, I am looking for some free opcodes to assign to new instructions, If someone could guide on this then It would be great?<br>
<br>Pratik<div><div><div><div><div><div><br></div>
</div></div></div></div></div></div>