From c0b66d96d77b646282f7e732c4c25761431336c3 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Tue, 19 Jan 2016 05:30:56 -0500 Subject: gk110/ir: allow carry to be set/read by imad Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index adb61d55501..17cb484d2ba 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -700,6 +700,10 @@ CodeEmitterGK110::emitIMAD(const Instruction *i) if (i->subOp == NV50_IR_SUBOP_MUL_HIGH) code[1] |= 1 << 25; + + if (i->flagsDef >= 0) code[1] |= 1 << 18; + if (i->flagsSrc >= 0) code[1] |= 1 << 20; + SAT_(35); } -- cgit v1.2.3