summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-02-28 19:07:24 +0100
committerChristoph Bumiller <[email protected]>2013-03-12 12:55:36 +0100
commitf07c46a4f425d1075e79ad1bba424f6921e37cc8 (patch)
tree8d2eb25ad8200f5696c4245551e7668a18c60480
parentb23ec3f8ba1230679d0188e5bf00270bf238b826 (diff)
nvc0/ir: use large issue delay after RET, too
-rw-r--r--src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp b/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp
index 1013b50766d..7fd9b86884b 100644
--- a/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp
+++ b/src/gallium/drivers/nvc0/codegen/nv50_ir_emit_nvc0.cpp
@@ -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) {