gm107/ir: add missing setcond flags for LOP variants
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Jun 2016 22:13:05 +0000 (00:13 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Jun 2016 22:30:01 +0000 (00:30 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp

index a92dba0aa1628611e27befc1334ae4ac00dc526f..40afbce9c6f365e3d943da705f82db5c69ca340d 100644 (file)
@@ -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));
    }