From: Christoph Bumiller Date: Thu, 28 Feb 2013 18:07:24 +0000 (+0100) Subject: nvc0/ir: use large issue delay after RET, too X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f07c46a4f425d1075e79ad1bba424f6921e37cc8;p=mesa.git nvc0/ir: use large issue delay after RET, too --- 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) {