summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-06-07 16:37:57 -0400
committerCarl Worth <cworth@cworth.org>2014-06-23 11:38:58 -0700
commitbfff355cef9b56a5ae1e7d7fbaa8c626fb287ad4 (patch)
tree883399b6a0168e71b7a2fff1f4b3d783121f4240
parent1e1bdee5ec018ab92ccef76882e74fca31115fde (diff)
gk110/ir: fix bfind emission
There is a short-immediate version as well, but it should never end up getting used since it would have gotten folded earlier. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "10.2" <mesa-stable@lists.freedesktop.org> (cherry picked from commit bd7dd3ed06ea9e88a9f6e18f45338bd99fde86f1)
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp2
1 files changed, 1 insertions, 1 deletions
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 bc77bd8c07a..75b3da2697f 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
@@ -713,7 +713,7 @@ CodeEmitterGK110::emitEXTBF(const Instruction *i)
void
CodeEmitterGK110::emitBFIND(const Instruction *i)
{
- emitForm_21(i, 0x618, 0xc18);
+ emitForm_C(i, 0x218, 0x2);
if (i->dType == TYPE_S32)
code[1] |= 0x80000;