gk110/ir: allow carry to be set/read by imad

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Ilia Mirkin 2016-01-19 05:30:56 -05:00
parent 73c9ca7544
commit c0b66d96d7

View file

@ -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);
}