<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="margin:0;">Hi, </p><p style="margin:0;"><br></p><p style="margin:0;">I am not sure about the usage of InstrItinData in td file.</p><p style="margin:0;">-----------------------------------------------------------</p><p style="margin:0;">109class InstrItinData<InstrItinClass Class, list<InstrStage> stages,</p><p style="margin:0;">110                    list<int> operandcycles = [],</p><p style="margin:0;">111                    list<Bypass> bypasses = [], int uops = 1> {</p><p style="margin:0;">112  InstrItinClass TheClass = Class;</p><p style="margin:0;">113  int NumMicroOps = uops;</p><p style="margin:0;">114  list<InstrStage> Stages = stages;</p><p style="margin:0;">115  list<int> OperandCycles = operandcycles;</p><p style="margin:0;">116  list<Bypass> Bypasses = bypasses;</p><p style="margin:0;">117}</p><p style="margin:0;">------------------------------------------------------------</p><p style="margin:0;">I wonder how the operandcycles correspond to the operands of the instruction.</p><p style="margin:0;">Each instruction definition has outs and ins. </p><p style="margin:0;">Is it that we first write the cycles for outs one by one, and then write the cycles for ins one by one.  And that's the final value for operandcycles.</p><p style="margin:0;">How should we handle it when we run into the case that the instruction has constraints that an operand in ins is tied to an operand in outs?</p><div style="margin:0;">Should we just ignore the constrants and stick to the one by one policy(outs first, ins second)? </div><div style="margin:0;"><br></div><div style="margin:0;">Thanks,</div><div style="margin:0;">Jerry</div></div><br><br><span title="neteasefooter"><p> </p></span>