Mesa (10.3): gm107/ir: add dnz emission for fmul

Emil Velikov evelikov at kemper.freedesktop.org
Mon Oct 13 01:03:16 UTC 2014


Module: Mesa
Branch: 10.3
Commit: e3e68a36db7b8804155fc4dfe34508143532fcda
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3e68a36db7b8804155fc4dfe34508143532fcda

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Sep 28 01:52:11 2014 -0400

gm107/ir: add dnz emission for fmul

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "10.3" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit d58037ccf5f362cabecb09bd4874db52629bbd71)

---

 src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 bafb9ca..944ceb2 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
@@ -432,7 +432,7 @@ CodeEmitterGM107::emitNEG2(int pos, const ValueRef &a, const ValueRef &b)
 void
 CodeEmitterGM107::emitFMZ(int pos, int len)
 {
-   emitField(pos, len, /*XXX: insn->dnz << 1 | */ insn->ftz);
+   emitField(pos, len, insn->dnz << 1 | insn->ftz);
 }
 
 void




More information about the mesa-commit mailing list