<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Thanks for the information. Just a few more questions.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Does (i32 simm16:$im) mean casting $im to i32? </div><div class="gmail_quote">Do dags like (ValueType otherDag) correspond to separate SDNodes with 'otherDag' node as input? or do they just change the type annotation of the 'otherDag' node.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_quote">So I should have added the complete pattern. I'm trying to achieve rd = rd + imm. While reading the sparc backend code I came across the above casting pattern and hence the confusion.<br></div><div class="gmail_quote">let Constraints = "$rd = $dst" in {<br></div><div class="gmail_quote">.. [(set R32:$rd, (add R32:$dst, simm16:$im) )]</div><div class="gmail_quote">}</div><div class="gmail_quote"><br></div></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font size="1"><span style="color:rgb(84,141,212);font-family:arial,helvetica,sans-serif">Regards</span><br></font></div><div><div dir="ltr"><font color="#000000" face="arial, helvetica, sans-serif" size="1"><font color="#548dd4">Pratik Bhatu<br></font><div><font color="#548dd4">Dual Degree(B.Tech + M. Tech), 5th Year</font></div><div><font color="#548dd4">Computer Science and Engineering</font></div><div><font color="#548dd4">IIT Hyderabad</font></div></font></div></div></div></div></div></div></div></div></div></div>
</div></div>