<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 13, 2009, at 7:22 AM, Stripf, Timo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div lang="DE" link="blue" vlink="purple"><div class="Section1"><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; ">Hi all,<o:p></o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "><o:p> </o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10pt; font-family: Arial; ">i’m working atm on a backend for a processor architecture that is capable of storing the carry flag of ADDC in an 1-bit register class. So I tried to lower the ADDC instruction to generate two register values as result. On the tablegen description of the instruction i came across the tablegen restriction that only one output result of one instruction is possible:<o:p></o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10pt; font-family: Arial; "><o:p> </o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; font-family: 'Courier New'; "> <span class="Apple-converted-space"> </span><font color="#030003"><span style="color: rgb(3, 0, 3); ">assert</span></font>(<font color="#030003"><span style="color: rgb(3, 0, 3); ">NumResults</span></font><span class="Apple-converted-space"> </span><= 1 &&<o:p></o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Courier New"><span lang="EN-GB" style="font-size: 10pt; font-family: 'Courier New'; ">        <span class="Apple-converted-space"> </span><font color="#a31515"><span style="color: rgb(163, 21, 21); ">"We only work with nodes with zero or one result so far!"</span></font>);<o:p></o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10pt; font-family: Arial; "><o:p> </o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10pt; font-family: Arial; ">So my question is now how much work it would be to remove this restriction in tablegen. What do I have to take into consideration?<o:p></o:p></span></font></div><div style="margin-top: 0pt; margin-right: 0pt; margin-left: 0pt; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span lang="EN-GB" style="font-size: 10pt; font-family: Arial; "><o:p> </o:p></span></font></div></div></div></span></blockquote><br></div><div>I don't know offhand, but this would be a very welcome improvement!</div><div><br></div><div>-Chris</div><br></body></html>