nv50/ir/gk110: presin/preex2 take their source at bit 23

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Ilia Mirkin 2014-03-14 05:46:14 -04:00
parent 48a9ba63f5
commit 72310869f0

View file

@ -716,7 +716,7 @@ CodeEmitterGK110::emitShift(const Instruction *i)
void
CodeEmitterGK110::emitPreOp(const Instruction *i)
{
emitForm_21(i, 0x248, -1);
emitForm_C(i, 0x248, 0x2);
if (i->op == OP_PREEX2)
code[1] |= 1 << 10;