nvc0/ir: use large issue delay after RET, too
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 28 Feb 2013 18:07:24 +0000 (19:07 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 12 Mar 2013 11:55:36 +0000 (12:55 +0100)
src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp

index 1013b50766d5f2720b82fee6bdab0584c168c292..7fd9b86884b637d5913ffb034dddd40e79a6678e 100644 (file)
@@ -2559,7 +2559,7 @@ private:
 void
 SchedDataCalculator::setDelay(Instruction *insn, int delay, Instruction *next)
 {
-   if (insn->op == OP_EXIT)
+   if (insn->op == OP_EXIT || insn->op == OP_RET)
       delay = MAX2(delay, 14);
 
    if (insn->op == OP_TEXBAR) {