summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-09-26 02:21:55 -0400
committerIlia Mirkin <[email protected]>2015-02-20 19:30:27 -0500
commit727018bb0c4fb7ca6e047937af5a58e17a1b4f7c (patch)
tree92e2a2966ac4c92ab21f7caeb89052252b4f7554 /src/gallium/drivers/nouveau
parent493ad88e1b6598e3827546854b0c8336b42b36a2 (diff)
gm107/ir: fix DMUL opcode encoding
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
index 944ceb2d056..9f4c43537da 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
@@ -924,15 +924,15 @@ CodeEmitterGM107::emitDMUL()
{
switch (insn->src(1).getFile()) {
case FILE_GPR:
- emitInsn(0x5c680000);
+ emitInsn(0x5c800000);
emitGPR (0x14, insn->src(1));
break;
case FILE_MEMORY_CONST:
- emitInsn(0x4c680000);
+ emitInsn(0x4c800000);
emitCBUF(0x22, -1, 0x14, 16, 2, insn->src(1));
break;
case FILE_IMMEDIATE:
- emitInsn(0x38680000);
+ emitInsn(0x38800000);
emitIMMD(0x14, 19, insn->src(1));
break;
default: