<html><head><style>p{margin-top:0px;margin-bottom:0px;}</style></head><body><div style="font-size:10pt; font-family:Gulim, sans-serif;"><p>hi, Recently working on LLVM Target Scheduler Target Description file, I have a question on InstrStage Class.</p><p>As shown on Scheduler Tutorial, it says  </p><p> </p><p><i>"<span class="comment">///   { 2, x|y, 1 }</span></i></p><div class="line"><i><a name="l00040"></a></i></div><div class="line"><i> <span class="comment">///      indicates that the stage occupies either FU x or FU y for 2</span></i></div><div class="line"><i><a name="l00041"></a></i></div><div class="line"><i> <span class="comment">///      consecutive cycles and that the next stage starts one cycle</span></i></div><div class="line"><i><a name="l00042"></a></i></div><div class="line"><i> <span class="comment">///      after this stage starts. That is, the stage requirements</span></i></div><div class="line"><i><a name="l00043"></a></i></div><p><i> <span class="comment">///      overlap in time."</span></i></p><p><i><span class="comment"><br></span></i></p><p><span class="comment">​If I understood right, this mean that this instruction takes 2 cycles to complete.</span></p><p><span class="comment">After first cycle passes, the another instruction (which has same InstrItinClass name) can be in this stage.  </span></p><p><span class="comment"> </span></p><p><span class="comment">My questions are:  </span></p><p><span class="comment">1. Am I understanding in right way?</span></p><p><span class="comment"> </span></p><p><span class="comment">2. What does the FuncUnit means in this case? Does this mean a module such as ALU, FPU?  </span></p><p><span class="comment"> </span></p><p><span class="comment">3. when I set third operand as 0, this mean the instruction can start simultaneously?  </span></p><p><span class="comment"> </span></p><p><span class="comment">P.S. Always thanks  LLVM Community  for giving warm kind knowledge.  </span></p><p><span class="comment"> </span></p><p><span class="comment"> </span></p></div></body></html><table style='display:none'><tr><td><img src="https://mail.naver.com/readReceipt/notify/?img=iQKsWzeTM6KwaxpCFrEYMoIoaAi4FA0op6UdFx%2BSp4EXMqudKqEdpo3gMX%2B0MoUq74lR74lcWNFlbX30WLloWrdQarwn%2B4dRpzkrtzwGbX3q74wn%2B4d5WXiN.gif" border="0"/></td></tr></table>