[Mesa-dev] [PATCH v2] gm107/ir: add missing setcond flags for LOP variants

Ilia Mirkin imirkin at alum.mit.edu
Mon Jun 27 22:16:25 UTC 2016


Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Mon, Jun 27, 2016 at 6:13 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> Cc: <mesa-stable at lists.freedesktop.org>
> ---
>  src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
> index 25a9a52..334c078 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
> @@ -1625,6 +1625,7 @@ CodeEmitterGM107::emitLOP()
>           break;
>        }
>        emitPRED (0x30);
> +      emitCC   (0x2f);
>        emitX    (0x2b);
>        emitField(0x29, 2, lop);
>        emitINV  (0x28, insn->src(1));
> @@ -1635,6 +1636,7 @@ CodeEmitterGM107::emitLOP()
>        emitINV  (0x38, insn->src(1));
>        emitINV  (0x37, insn->src(0));
>        emitField(0x35, 2, lop);
> +      emitCC   (0x34);
>        emitIMMD (0x14, 32, insn->src(1));
>     }
>
> --
> 2.8.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list